struct KindFns {
apply: [fn(&CachedSubtable<'_>, &mut ApplyContext<'_, '_, '_>, u32) -> Option<()>; 2],
apply_sharing: fn(&CachedSubtable<'_>, &mut ApplyContext<'_, '_, '_>, u32, &mut SecondGlyph) -> Option<()>,
shares_second_glyph: bool,
}Expand description
How a kind of subtable applies.
Fields§
§apply: [fn(&CachedSubtable<'_>, &mut ApplyContext<'_, '_, '_>, u32) -> Option<()>; 2]Applies without and with the glyph-info class cache.
apply_sharing: fn(&CachedSubtable<'_>, &mut ApplyContext<'_, '_, '_>, u32, &mut SecondGlyph) -> Option<()>Whether the kind adjusts pairs and uses the shared second glyph.
Auto Trait Implementations§
impl Freeze for KindFns
impl RefUnwindSafe for KindFns
impl Send for KindFns
impl Sync for KindFns
impl Unpin for KindFns
impl UnsafeUnpin for KindFns
impl UnwindSafe for KindFns
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