pub struct LayoutLine {
pub event_index: usize,
pub style_index: usize,
pub text: String,
pub direction: BidiDirection,
pub glyph_count: usize,
pub width: f32,
pub runs: Vec<LayoutGlyphRun>,
}Fields§
§event_index: usize§style_index: usize§text: String§direction: BidiDirection§glyph_count: usize§width: f32§runs: Vec<LayoutGlyphRun>Trait Implementations§
Source§impl Clone for LayoutLine
impl Clone for LayoutLine
Source§fn clone(&self) -> LayoutLine
fn clone(&self) -> LayoutLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutLine
impl Debug for LayoutLine
Source§impl Default for LayoutLine
impl Default for LayoutLine
Source§fn default() -> LayoutLine
fn default() -> LayoutLine
Returns the “default value” for a type. Read more
Source§impl PartialEq for LayoutLine
impl PartialEq for LayoutLine
Source§fn eq(&self, other: &LayoutLine) -> bool
fn eq(&self, other: &LayoutLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LayoutLine
Auto Trait Implementations§
impl Freeze for LayoutLine
impl RefUnwindSafe for LayoutLine
impl Send for LayoutLine
impl Sync for LayoutLine
impl Unpin for LayoutLine
impl UnsafeUnpin for LayoutLine
impl UnwindSafe for LayoutLine
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