Struct ttf_parser::math::GlyphConstruction
source · [−]pub struct GlyphConstruction<'a> {
pub assembly: Option<GlyphAssembly<'a>>,
pub variants: LazyArray16<'a, GlyphVariant>,
}
Expand description
Fields
assembly: Option<GlyphAssembly<'a>>
A general recipe on how to construct a variant with large advance width/height.
variants: LazyArray16<'a, GlyphVariant>
Prepared variants of the glyph with varying advances.
Trait Implementations
sourceimpl<'a> Clone for GlyphConstruction<'a>
impl<'a> Clone for GlyphConstruction<'a>
sourcefn clone(&self) -> GlyphConstruction<'a>
fn clone(&self) -> GlyphConstruction<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for GlyphConstruction<'a>
impl<'a> Debug for GlyphConstruction<'a>
impl<'a> Copy for GlyphConstruction<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for GlyphConstruction<'a>
impl<'a> Send for GlyphConstruction<'a>
impl<'a> Sync for GlyphConstruction<'a>
impl<'a> Unpin for GlyphConstruction<'a>
impl<'a> UnwindSafe for GlyphConstruction<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more