pub enum CompiledView {
Nfa(NfaView),
AllGroup(AllGroupView),
Failed {
reason: String,
},
}Expand description
The matcher the validator executes for this type.
Variants§
Nfa(NfaView)
An NFA, possibly carrying an open-content wildcard.
AllGroup(AllGroupView)
An all-group model (unordered particles).
Failed
The validator could not prepare a model for this type.
Implementations§
Source§impl CompiledView
impl CompiledView
Sourcepub fn matcher_kind(&self) -> &str
pub fn matcher_kind(&self) -> &str
The matcher kind, in the vocabulary the compiler uses.
Trait Implementations§
Source§impl Clone for CompiledView
impl Clone for CompiledView
Source§impl Debug for CompiledView
impl Debug for CompiledView
Auto Trait Implementations§
impl Forget for CompiledView
impl Freeze for CompiledViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CounterView>: Freeze,
PhantomData<StateRow>: Freeze,
PhantomData<SubstitutionGroupView>: Freeze,
&'static str: Freeze,
PhantomData<String>: Freeze,
PhantomData<u16>: Freeze,
PhantomData<AllMemberView>: Freeze,
impl Move for CompiledView
impl RefUnwindSafe for CompiledView
impl Send for CompiledView
impl Sync for CompiledViewwhere
RawVecInner: Sync,
impl Unpin for CompiledView
impl UnsafeUnpin for CompiledViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CounterView>: UnsafeUnpin,
PhantomData<StateRow>: UnsafeUnpin,
PhantomData<SubstitutionGroupView>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
PhantomData<AllMemberView>: UnsafeUnpin,
impl UnwindSafe for CompiledView
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