pub(crate) struct MarkLigPos1<'a> {
ligature_coverage: Coverage<'a>,
marks: Option<Marks<'a>>,
ligatures: Option<Offsets<'a>>,
mark_class_count: u16,
width: u8,
}Expand description
Mark-to-ligature attachment.
Fields§
§ligature_coverage: Coverage<'a>§marks: Option<Marks<'a>>§ligatures: Option<Offsets<'a>>The offsets to the component arrays of the ligatures.
mark_class_count: u16§width: u8Implementations§
Source§impl<'a> MarkLigPos1<'a>
impl<'a> MarkLigPos1<'a>
pub fn new(table: &MarkLigPosFormat1<'a>) -> Option<Self>
pub fn new_wide(table: &MarkLigPosFormat2<'a>) -> Option<Self>
pub fn apply( &self, ctx: &mut ApplyContext<'_, '_, '_>, index: u32, ) -> Option<()>
Trait Implementations§
Source§impl<'a> IntoKind<'a> for MarkLigPos1<'a>
impl<'a> IntoKind<'a> for MarkLigPos1<'a>
Source§impl<'a> SubtableDigests<'a> for MarkLigPos1<'a>
impl<'a> SubtableDigests<'a> for MarkLigPos1<'a>
Source§fn digest_second(&self, budget: &Budget) -> Result<SetDigest, Exhausted>
fn digest_second(&self, budget: &Budget) -> Result<SetDigest, Exhausted>
The glyphs that may follow the first one in a match.
Source§const CACHES_COVERAGE: bool = false
const CACHES_COVERAGE: bool = false
Whether looking up the first glyph’s coverage gains from a cache.
Source§fn cache_cost(&self) -> u32
fn cache_cost(&self) -> u32
How much the subtable gains from the glyph-info class cache.
Auto Trait Implementations§
impl<'a> Freeze for MarkLigPos1<'a>
impl<'a> RefUnwindSafe for MarkLigPos1<'a>
impl<'a> Send for MarkLigPos1<'a>
impl<'a> Sync for MarkLigPos1<'a>
impl<'a> Unpin for MarkLigPos1<'a>
impl<'a> UnsafeUnpin for MarkLigPos1<'a>
impl<'a> UnwindSafe for MarkLigPos1<'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