pub(crate) struct ShyBreak {
pub(crate) prefix: Word,
pub(crate) suffix: Word,
}Expand description
Result of splitting a Word at one of its SHY break offsets.
prefix.text already includes a trailing U+002D HYPHEN-MINUS and
its width_pt is the post-shape advance sum (including the
hyphen). suffix.text carries the remaining bytes with
shy_break_offsets rebased to the suffix’s local indexing and
boundary offsets (0 / len) dropped.
Fields§
§prefix: Word§suffix: WordTrait Implementations§
Auto Trait Implementations§
impl Freeze for ShyBreak
impl RefUnwindSafe for ShyBreak
impl Send for ShyBreak
impl Sync for ShyBreak
impl Unpin for ShyBreak
impl UnsafeUnpin for ShyBreak
impl UnwindSafe for ShyBreak
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.