struct Nib<'a> {
ctx: &'a CanvasRenderingContext2d,
swatches: &'a Swatches,
glyphs: &'a Glyphs,
}Expand description
What every text mark is drawn through: the context, the frame’s swatches and the typeface.
Fields§
§ctx: &'a CanvasRenderingContext2d§swatches: &'a Swatches§glyphs: &'a GlyphsTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Nib<'a>
impl<'a> !RefUnwindSafe for Nib<'a>
impl<'a> !Send for Nib<'a>
impl<'a> !Sync for Nib<'a>
impl<'a> Unpin for Nib<'a>
impl<'a> UnsafeUnpin for Nib<'a>
impl<'a> !UnwindSafe for Nib<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more