pub(crate) struct MarkMarkPos1<'a> {
mark2_coverage: Coverage<'a>,
marks1: Option<Marks<'a>>,
marks2: Option<AnchorRows<'a>>,
}Expand description
Mark-to-mark attachment.
Fields§
§mark2_coverage: Coverage<'a>§marks1: Option<Marks<'a>>§marks2: Option<AnchorRows<'a>>Implementations§
Source§impl<'a> MarkMarkPos1<'a>
impl<'a> MarkMarkPos1<'a>
pub fn new(table: &MarkMarkPosFormat1<'a>) -> Option<Self>
pub fn new_wide(table: &MarkMarkPosFormat2<'a>) -> Option<Self>
pub fn apply( &self, ctx: &mut ApplyContext<'_, '_, '_>, index: u32, ) -> Option<()>
Trait Implementations§
Source§impl<'a> IntoKind<'a> for MarkMarkPos1<'a>
impl<'a> IntoKind<'a> for MarkMarkPos1<'a>
Source§impl<'a> SubtableDigests<'a> for MarkMarkPos1<'a>
impl<'a> SubtableDigests<'a> for MarkMarkPos1<'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 MarkMarkPos1<'a>
impl<'a> RefUnwindSafe for MarkMarkPos1<'a>
impl<'a> Send for MarkMarkPos1<'a>
impl<'a> Sync for MarkMarkPos1<'a>
impl<'a> Unpin for MarkMarkPos1<'a>
impl<'a> UnsafeUnpin for MarkMarkPos1<'a>
impl<'a> UnwindSafe for MarkMarkPos1<'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