pub struct TextLine {
pub paragraph_index: usize,
pub byte_range: Range<usize>,
pub run_range: Range<usize>,
pub cluster_range: Range<usize>,
pub glyph_range: Range<usize>,
pub rect: Rect,
pub baseline: f32,
pub ascent: f32,
pub descent: f32,
pub width: f32,
pub direction: TextFlowDirection,
/* private fields */
}Fields§
§paragraph_index: usize§byte_range: Range<usize>§run_range: Range<usize>§cluster_range: Range<usize>§glyph_range: Range<usize>§rect: Rect§baseline: f32§ascent: f32§descent: f32§width: f32§direction: TextFlowDirectionTrait Implementations§
impl StructuralPartialEq for TextLine
Auto Trait Implementations§
impl Forget for TextLine
impl Freeze for TextLine
impl Move for TextLine
impl RefUnwindSafe for TextLine
impl Send for TextLine
impl Sync for TextLine
impl Unpin for TextLine
impl UnsafeUnpin for TextLine
impl UnwindSafe for TextLine
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