pub struct Shaped { /* private fields */ }Expand description
A paragraph shaped once, and everything about it the measure does not decide: the flattened text, the runs it shaped into, and the style and options it was set with.
Shaping is the expensive half of setting a paragraph, and it does
not depend on where the lines end. A caller that can break the
same paragraph again against a different profile keeps this. It
breaks the paragraph through LineLayout::rebreak.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shaped
impl RefUnwindSafe for Shaped
impl Send for Shaped
impl Sync for Shaped
impl Unpin for Shaped
impl UnsafeUnpin for Shaped
impl UnwindSafe for Shaped
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.