pub struct LineMetrics { /* private fields */ }Trait Implementations§
Source§impl LineMetrics for LineMetrics
impl LineMetrics for LineMetrics
fn get_unscaled_ascent(&self, line: usize) -> f64
fn get_ascent(&self, line: usize) -> f64
fn get_descent(&self, line: usize) -> f64
fn get_baseline(&self, line: usize) -> f64
fn is_hardbreak(&self, line: usize) -> bool
fn get_width(&self, line: usize) -> f64
fn get_height(&self, line: usize) -> f64
fn get_left(&self, line: usize) -> f64
fn get_code_unit_start_index_utf16(&self, line: usize) -> usize
fn get_code_unit_end_index_utf16(&self, line: usize) -> usize
fn get_code_unit_end_index_excluding_whitespace_utf16( &self, line: usize, ) -> usize
fn get_code_unit_end_index_including_newline_utf16(&self, line: usize) -> usize
Auto Trait Implementations§
impl Freeze for LineMetrics
impl RefUnwindSafe for LineMetrics
impl Send for LineMetrics
impl Sync for LineMetrics
impl Unpin for LineMetrics
impl UnsafeUnpin for LineMetrics
impl UnwindSafe for LineMetrics
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