Enum allsorts::layout::ChainContextLookup
source · [−]pub enum ChainContextLookup<T: LayoutTableType> {
Format1 {
coverage: Rc<Coverage>,
chainsubrulesets: Vec<Option<ChainSubRuleSet>>,
phantom: PhantomData<T>,
},
Format2 {
coverage: Rc<Coverage>,
backtrack_classdef: Rc<ClassDef>,
input_classdef: Rc<ClassDef>,
lookahead_classdef: Rc<ClassDef>,
chainsubclasssets: Vec<Option<ChainSubClassSet>>,
phantom: PhantomData<T>,
},
Format3 {
backtrack_coverages: Vec<Rc<Coverage>>,
input_coverages: Vec<Rc<Coverage>>,
lookahead_coverages: Vec<Rc<Coverage>>,
lookup_records: Vec<(u16, u16)>,
phantom: PhantomData<T>,
},
}
Variants
Format1
Format2
Format3
Fields
phantom: PhantomData<T>
Trait Implementations
sourceimpl<'a, T: LayoutTableType> ReadBinaryDep<'a> for ChainContextLookup<T>
impl<'a, T: LayoutTableType> ReadBinaryDep<'a> for ChainContextLookup<T>
type HostType = ChainContextLookup<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 ChainContextLookup<T> where
T: RefUnwindSafe,
impl<T> !Send for ChainContextLookup<T>
impl<T> !Sync for ChainContextLookup<T>
impl<T> Unpin for ChainContextLookup<T> where
T: Unpin,
impl<T> UnwindSafe for ChainContextLookup<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