pub struct RawGlyph<T> {
pub unicodes: TinyVec<[char; 1]>,
pub glyph_index: u16,
pub liga_component_pos: u16,
pub glyph_origin: GlyphOrigin,
pub small_caps: bool,
pub multi_subst_dup: bool,
pub is_vert_alt: bool,
pub fake_bold: bool,
pub fake_italic: bool,
pub variation: Option<VariationSelector>,
pub extra_data: T,
}
Fields
unicodes: TinyVec<[char; 1]>
glyph_index: u16
liga_component_pos: u16
glyph_origin: GlyphOrigin
small_caps: bool
multi_subst_dup: bool
is_vert_alt: bool
fake_bold: bool
fake_italic: bool
variation: Option<VariationSelector>
extra_data: T
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for RawGlyph<T>where
T: RefUnwindSafe,
impl<T> Send for RawGlyph<T>where
T: Send,
impl<T> Sync for RawGlyph<T>where
T: Sync,
impl<T> Unpin for RawGlyph<T>where
T: Unpin,
impl<T> UnwindSafe for RawGlyph<T>where
T: UnwindSafe,
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