pub struct PreparedLayout { /* private fields */ }Implementations§
Source§impl PreparedLayout
impl PreparedLayout
pub fn kept_end(&self) -> usize
pub fn metrics(&self) -> TextMetrics
pub fn lines(&self) -> &[PreparedLine]
pub fn first_line_caret_stops(&self) -> &[(usize, Px)]
pub fn missing_glyphs(&self) -> u32
pub fn into_parts( self, ) -> (usize, TextMetrics, Vec<PreparedLine>, Vec<(usize, Px)>, u32)
Trait Implementations§
Source§impl Clone for PreparedLayout
impl Clone for PreparedLayout
Source§fn clone(&self) -> PreparedLayout
fn clone(&self) -> PreparedLayout
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 moreAuto Trait Implementations§
impl Freeze for PreparedLayout
impl !RefUnwindSafe for PreparedLayout
impl Send for PreparedLayout
impl Sync for PreparedLayout
impl Unpin for PreparedLayout
impl UnsafeUnpin for PreparedLayout
impl !UnwindSafe for PreparedLayout
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