Enum allsorts::layout::ContextLookup
source · [−]pub enum ContextLookup<T: LayoutTableType> {
Format1 {
coverage: Rc<Coverage>,
subrulesets: Vec<Option<SubRuleSet>>,
phantom: PhantomData<T>,
},
Format2 {
coverage: Rc<Coverage>,
classdef: Rc<ClassDef>,
subclasssets: Vec<Option<SubClassSet>>,
phantom: PhantomData<T>,
},
Format3 {
coverages: Vec<Rc<Coverage>>,
lookup_records: Vec<(u16, u16)>,
phantom: PhantomData<T>,
},
}
Variants
Format1
Format2
Format3
Trait Implementations
sourceimpl<'a, T: LayoutTableType> ReadBinaryDep<'a> for ContextLookup<T>
impl<'a, T: LayoutTableType> ReadBinaryDep<'a> for ContextLookup<T>
type HostType = ContextLookup<T>
type Args = Rc<LayoutCacheData<T>>
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
cache: Self::Args
) -> Result<Self, ParseError>
Auto Trait Implementations
impl<T> RefUnwindSafe for ContextLookup<T> where
T: RefUnwindSafe,
impl<T> !Send for ContextLookup<T>
impl<T> !Sync for ContextLookup<T>
impl<T> Unpin for ContextLookup<T> where
T: Unpin,
impl<T> UnwindSafe for ContextLookup<T> where
T: UnwindSafe,
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