Struct swash::text::cluster::Char[][src]

pub struct Char {
    pub ch: char,
    pub offset: u32,
    pub shape_class: ShapeClass,
    pub joining_type: JoiningType,
    pub ignorable: bool,
    pub contributes_to_shaping: bool,
    pub glyph_id: GlyphId,
    pub data: UserData,
}

Character output from the cluster parser.

Fields

ch: char

The character.

offset: u32

Offset of the character in code units.

shape_class: ShapeClass

Shaping class of the character.

joining_type: JoiningType

Joining type of the character.

ignorable: bool

True if the character is ignorable.

contributes_to_shaping: bool

True if the character should be considered when mapping glyphs.

glyph_id: GlyphId

Nominal glyph identifier.

data: UserData

Arbitrary user data.

Trait Implementations

impl Clone for Char[src]

impl Copy for Char[src]

impl Debug for Char[src]

impl Default for Char[src]

Auto Trait Implementations

impl RefUnwindSafe for Char

impl Send for Char

impl Sync for Char

impl Unpin for Char

impl UnwindSafe for Char

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.