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: 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)