pub(crate) struct ClusterShaper<'a> {
shaper: &'a Shaper<'a>,
lookup_list: Option<SubstitutionLookupList<'a>>,
kind: ClusterShaperKind<'a>,
}
Fields§
§shaper: &'a Shaper<'a>
§lookup_list: Option<SubstitutionLookupList<'a>>
§kind: ClusterShaperKind<'a>
Implementations§
Source§impl ClusterShaper<'_>
impl ClusterShaper<'_>
pub(crate) fn shape( &mut self, input: &str, output: &mut SmallVec<ShapedGlyph, SHAPED_CLUSTER_INLINE_SIZE>, )
fn apply_lookup( &self, lookup_index: u16, cluster: &mut SmallVec<ShapedGlyph, SHAPED_CLUSTER_INLINE_SIZE>, glyph_ix: usize, nesting_depth: usize, ) -> bool
Auto Trait Implementations§
impl<'a> Freeze for ClusterShaper<'a>
impl<'a> RefUnwindSafe for ClusterShaper<'a>
impl<'a> !Send for ClusterShaper<'a>
impl<'a> !Sync for ClusterShaper<'a>
impl<'a> Unpin for ClusterShaper<'a>
impl<'a> UnwindSafe for ClusterShaper<'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