pub enum SinglePos {
Format1 {
coverage: Rc<Coverage>,
value_record: ValueRecord,
},
Format2 {
coverage: Rc<Coverage>,
value_records: Vec<ValueRecord>,
},
}
Variants
Format1
Format2
Implementations
sourceimpl SinglePos
impl SinglePos
pub fn apply(&self, glyph: u16) -> Result<ValueRecord, ParseError>
Trait Implementations
sourceimpl<'a> ReadBinaryDep<'a> for SinglePos
impl<'a> ReadBinaryDep<'a> for SinglePos
Auto Trait Implementations
impl RefUnwindSafe for SinglePos
impl !Send for SinglePos
impl !Sync for SinglePos
impl Unpin for SinglePos
impl UnwindSafe for SinglePos
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more