Struct owned_ttf_parser::gpos::PairSet
source · pub struct PairSet<'a> {
data: &'a [u8],
flags: (ValueFormatFlags, ValueFormatFlags),
record_len: u8,
}
Expand description
A ValueRecord
pairs set used by PairAdjustment
.
Fields§
§data: &'a [u8]
§flags: (ValueFormatFlags, ValueFormatFlags)
§record_len: u8
Implementations§
source§impl<'a> PairSet<'a>
impl<'a> PairSet<'a>
sourcepub fn get(&self, second: GlyphId) -> Option<(ValueRecord<'a>, ValueRecord<'a>)>
pub fn get(&self, second: GlyphId) -> Option<(ValueRecord<'a>, ValueRecord<'a>)>
Returns a ValueRecord
pair using the second glyph.
Trait Implementations§
impl<'a> Copy for PairSet<'a>
Auto Trait Implementations§
impl<'a> Freeze for PairSet<'a>
impl<'a> RefUnwindSafe for PairSet<'a>
impl<'a> Send for PairSet<'a>
impl<'a> Sync for PairSet<'a>
impl<'a> Unpin for PairSet<'a>
impl<'a> UnwindSafe for PairSet<'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