pub struct ShapedLine { /* private fields */ }Implementations§
Source§impl ShapedLine
impl ShapedLine
pub fn width(&self) -> f32
pub fn height(&self) -> f32
pub fn glyph_count(&self) -> usize
pub fn row_count(&self) -> usize
pub fn rows(&self) -> &[LineRow]
pub fn row(&self, index: usize) -> Option<&LineRow>
pub fn hash(&self) -> u64
pub fn width_quant(&self) -> u32
pub fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for ShapedLine
impl RefUnwindSafe for ShapedLine
impl Send for ShapedLine
impl Sync for ShapedLine
impl Unpin for ShapedLine
impl UnsafeUnpin for ShapedLine
impl UnwindSafe for ShapedLine
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