pub struct ShapedLineLayout { /* private fields */ }Implementations§
Source§impl ShapedLineLayout
impl ShapedLineLayout
pub fn clusters(&self) -> &[ShapedCluster]
pub fn take_clusters(&mut self) -> Vec<ShapedCluster>
pub fn width(&self) -> f32
pub fn ascent(&self) -> f32
pub fn descent(&self) -> f32
pub fn ink_ascent(&self) -> f32
pub fn ink_descent(&self) -> f32
pub fn baseline(&self) -> f32
pub fn line_height(&self) -> f32
pub fn glyphs(&self) -> &[ParleyGlyph]
pub fn glyphs_mut(&mut self) -> &mut [ParleyGlyph]
pub fn take_glyphs(&mut self) -> Vec<ParleyGlyph>
Trait Implementations§
Source§impl Clone for ShapedLineLayout
impl Clone for ShapedLineLayout
Source§fn clone(&self) -> ShapedLineLayout
fn clone(&self) -> ShapedLineLayout
Returns a duplicate of the value. Read more
1.0.0 · 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 ShapedLineLayout
impl Debug for ShapedLineLayout
Source§impl PartialEq for ShapedLineLayout
impl PartialEq for ShapedLineLayout
impl StructuralPartialEq for ShapedLineLayout
Auto Trait Implementations§
impl Freeze for ShapedLineLayout
impl !RefUnwindSafe for ShapedLineLayout
impl Send for ShapedLineLayout
impl Sync for ShapedLineLayout
impl Unpin for ShapedLineLayout
impl UnsafeUnpin for ShapedLineLayout
impl !UnwindSafe for ShapedLineLayout
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