[][src]Struct allsorts::gsub::RawGlyph

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: u16liga_component_pos: u16glyph_origin: GlyphOriginsmall_caps: boolmulti_subst_dup: boolis_vert_alt: boolfake_bold: boolfake_italic: boolvariation: Option<VariationSelector>extra_data: T

Trait Implementations

impl<T: Clone> Clone for RawGlyph<T>[src]

impl<T: Debug> Debug for RawGlyph<T>[src]

impl<'_> From<&'_ RawGlyph<()>> for RawGlyph<ArabicData>[src]

impl<'_> From<&'_ RawGlyph<()>> for RawGlyph<SyriacData>[src]

impl<'_> From<&'_ RawGlyph<ArabicData>> for RawGlyph<()>[src]

impl<'_> From<&'_ RawGlyph<SyriacData>> for RawGlyph<()>[src]

impl<T> Glyph for RawGlyph<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for RawGlyph<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for RawGlyph<T> where
    T: Send
[src]

impl<T> Sync for RawGlyph<T> where
    T: Sync
[src]

impl<T> Unpin for RawGlyph<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for RawGlyph<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.