#[repr(C)]pub struct GlyphInfo {
pub grapheme_layout_bounds: Rect,
pub grapheme_cluster_text_range: TextRange,
pub text_direction: TextDirection,
pub is_ellipsis: bool,
}
Expand description
The glyph and grapheme cluster information associated with a unicode codepoint in the paragraph.
Fields§
§grapheme_layout_bounds: Rect
§grapheme_cluster_text_range: TextRange
§text_direction: TextDirection
§is_ellipsis: bool
Trait Implementations§
impl StructuralPartialEq for GlyphInfo
Auto Trait Implementations§
impl Freeze for GlyphInfo
impl RefUnwindSafe for GlyphInfo
impl Send for GlyphInfo
impl Sync for GlyphInfo
impl Unpin for GlyphInfo
impl UnwindSafe for GlyphInfo
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