pub struct Nfa {
pub transitions: Vec<Vec<NfaTransition>>,
pub start: StateId,
pub accept: StateId,
}Fields§
§transitions: Vec<Vec<NfaTransition>>transitions[state_id] lists every outgoing transition from that
state. Indexed densely; unused state ids hold an empty vec.
start: StateId§accept: StateIdImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nfa
impl RefUnwindSafe for Nfa
impl Send for Nfa
impl Sync for Nfa
impl Unpin for Nfa
impl UnsafeUnpin for Nfa
impl UnwindSafe for Nfa
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