pub(crate) struct SinglePos1<'a> {
value: ValueRecord<'a>,
}Expand description
Single adjustment by one value record.
Fields§
§value: ValueRecord<'a>Implementations§
Source§impl<'a> SinglePos1<'a>
impl<'a> SinglePos1<'a>
pub fn new(table: &SinglePosFormat1<'a>) -> Option<Self>
pub fn new_wide(table: &SinglePosFormat3<'a>) -> Option<Self>
pub fn apply( &self, ctx: &mut ApplyContext<'_, '_, '_>, _index: u32, ) -> Option<()>
Trait Implementations§
Source§impl<'a> IntoKind<'a> for SinglePos1<'a>
impl<'a> IntoKind<'a> for SinglePos1<'a>
Source§impl<'a> SubtableDigests<'a> for SinglePos1<'a>
impl<'a> SubtableDigests<'a> for SinglePos1<'a>
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 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§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 SinglePos1<'a>
impl<'a> RefUnwindSafe for SinglePos1<'a>
impl<'a> Send for SinglePos1<'a>
impl<'a> Sync for SinglePos1<'a>
impl<'a> Unpin for SinglePos1<'a>
impl<'a> UnsafeUnpin for SinglePos1<'a>
impl<'a> UnwindSafe for SinglePos1<'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