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,
}Expand description
Character output from the cluster parser.
Fields§
§ch: charThe character.
offset: u32Offset of the character in code units.
shape_class: ShapeClassShaping class of the character.
joining_type: JoiningTypeJoining type of the character.
ignorable: boolTrue if the character is ignorable.
contributes_to_shaping: boolTrue if the character should be considered when mapping glyphs.
glyph_id: GlyphIdNominal glyph identifier.
data: UserDataArbitrary user data.
Trait Implementations§
impl Copy for Char
Auto Trait Implementations§
impl Freeze for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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