pub struct RawCoreTextLine {
pub glyphs: Vec<RawCoreTextGlyph>,
pub is_rtl: bool,
pub total_advance: f32,
}Expand description
Raw line layout record emitted by the native CoreText bridge.
Fields§
§glyphs: Vec<RawCoreTextGlyph>Sequence of positioned glyphs.
is_rtl: boolWhether this line was shaped as right-to-left.
total_advance: f32Total visual advance width in points.
Trait Implementations§
Source§impl Clone for RawCoreTextLine
impl Clone for RawCoreTextLine
Source§impl Debug for RawCoreTextLine
impl Debug for RawCoreTextLine
Source§impl PartialEq for RawCoreTextLine
impl PartialEq for RawCoreTextLine
impl StructuralPartialEq for RawCoreTextLine
Auto Trait Implementations§
impl Freeze for RawCoreTextLine
impl RefUnwindSafe for RawCoreTextLine
impl Send for RawCoreTextLine
impl Sync for RawCoreTextLine
impl Unpin for RawCoreTextLine
impl UnsafeUnpin for RawCoreTextLine
impl UnwindSafe for RawCoreTextLine
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