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
Auto Trait Implementations
impl RefUnwindSafe for Char
impl RefUnwindSafe for Char
impl UnwindSafe for Char
impl UnwindSafe for Char