[][src]Struct route_recognizer::nfa::NFA

pub struct NFA<T> { /* fields omitted */ }

Methods

impl<T> NFA<T>[src]

pub fn new() -> NFA<T>[src]

pub fn process<'a, I, F>(
    &self,
    string: &'a str,
    ord: F
) -> Result<Match<'a>, String> where
    I: Ord,
    F: FnMut(usize) -> I, 
[src]

pub fn get<'a>(&'a self, state: usize) -> &'a State<T>[src]

pub fn get_mut<'a>(&'a mut self, state: usize) -> &'a mut State<T>[src]

pub fn put(&mut self, index: usize, chars: CharacterClass) -> usize[src]

pub fn put_state(&mut self, index: usize, child: usize)[src]

pub fn acceptance(&mut self, index: usize)[src]

pub fn start_capture(&mut self, index: usize)[src]

pub fn end_capture(&mut self, index: usize)[src]

pub fn metadata(&mut self, index: usize, metadata: T)[src]

Trait Implementations

impl<T: Clone> Clone for NFA<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Sync for NFA<T> where
    T: Sync

impl<T> Send for NFA<T> where
    T: Send

impl<T> Unpin for NFA<T> where
    T: Unpin

impl<T> RefUnwindSafe for NFA<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for NFA<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]