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§
source§impl<'a> Clone for GlyphConstruction<'a>
impl<'a> Clone for GlyphConstruction<'a>
source§fn clone(&self) -> GlyphConstruction<'a>
fn clone(&self) -> GlyphConstruction<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for GlyphConstruction<'a>
impl<'a> Debug for GlyphConstruction<'a>
source§impl<'a> FromSlice<'a> for GlyphConstruction<'a>
impl<'a> FromSlice<'a> for GlyphConstruction<'a>
impl<'a> Copy for GlyphConstruction<'a>
Auto Trait Implementations§
impl<'a> Freeze for GlyphConstruction<'a>
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)