pub struct Automaton<S, E> { /* private fields */ }Expand description
A compiled, explicitly branching tagged automaton.
Implementations§
Source§impl<S, E> Automaton<S, E>
impl<S, E> Automaton<S, E>
Sourcepub const fn evidence(&self) -> CompilationEvidence
pub const fn evidence(&self) -> CompilationEvidence
Compilation size and work estimate.
Sourcepub fn assertion(&self, id: AssertionId) -> Option<&AssertionProgram<S, E>>
pub fn assertion(&self, id: AssertionId) -> Option<&AssertionProgram<S, E>>
Returns a compiled fixed-width assertion when its definition is regular.
Trait Implementations§
impl<S: Eq, E: Eq> Eq for Automaton<S, E>
impl<S: PartialEq, E: PartialEq> StructuralPartialEq for Automaton<S, E>
Auto Trait Implementations§
impl<S, E> Freeze for Automaton<S, E>
impl<S, E> RefUnwindSafe for Automaton<S, E>where
S: RefUnwindSafe,
E: RefUnwindSafe,
impl<S, E> Send for Automaton<S, E>
impl<S, E> Sync for Automaton<S, E>
impl<S, E> Unpin for Automaton<S, E>
impl<S, E> UnsafeUnpin for Automaton<S, E>
impl<S, E> UnwindSafe for Automaton<S, E>
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