pub struct Nfa<I, T = (), E = ()>(/* private fields */);Implementations§
Source§impl<I, T, E> Nfa<I, T, E>
impl<I, T, E> Nfa<I, T, E>
pub fn with_start_accept(start_accept: T) -> Self
pub fn get(&self, node: usize) -> Option<&Node<I, T, E>>
pub fn push_accept(&mut self, accept: T) -> usize
Source§impl<I: Clone + Ord, T: Accept<Token: Clone + Ord + Hash>, E: Accept<Token: Clone + Ord + Hash>> Nfa<I, T, E>
impl<I: Clone + Ord, T: Accept<Token: Clone + Ord + Hash>, E: Accept<Token: Clone + Ord + Hash>> Nfa<I, T, E>
Trait Implementations§
Auto Trait Implementations§
impl<I, T, E> Freeze for Nfa<I, T, E>
impl<I, T, E> RefUnwindSafe for Nfa<I, T, E>
impl<I, T, E> Send for Nfa<I, T, E>
impl<I, T, E> Sync for Nfa<I, T, E>
impl<I, T, E> Unpin for Nfa<I, T, E>
impl<I, T, E> UnsafeUnpin for Nfa<I, T, E>
impl<I, T, E> UnwindSafe for Nfa<I, T, 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