struct ClusterResolution<'a> {
font: Font,
byte_range: Range<usize>,
glyphs: Cow<'a, [ShapedGlyph]>,
}Expand description
Internal: one cluster’s resolution after fallback retry. glyphs
carry cluster offsets into the parent word text.
Fields§
§font: Font§byte_range: Range<usize>§glyphs: Cow<'a, [ShapedGlyph]>Auto Trait Implementations§
impl<'a> Freeze for ClusterResolution<'a>
impl<'a> RefUnwindSafe for ClusterResolution<'a>
impl<'a> Send for ClusterResolution<'a>
impl<'a> Sync for ClusterResolution<'a>
impl<'a> Unpin for ClusterResolution<'a>
impl<'a> UnsafeUnpin for ClusterResolution<'a>
impl<'a> UnwindSafe for ClusterResolution<'a>
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<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.