pub struct NfaEdge {
pub from: NfaStateId,
pub byte: Option<u8>,
pub to: NfaStateId,
}Expand description
NFA transition: (from, label, to) where None label is epsilon.
Fields§
§from: NfaStateIdSource state id.
byte: Option<u8>Byte label, or None for an epsilon transition.
to: NfaStateIdDestination state id.
Trait Implementations§
impl Eq for NfaEdge
impl StructuralPartialEq for NfaEdge
Auto Trait Implementations§
impl Freeze for NfaEdge
impl RefUnwindSafe for NfaEdge
impl Send for NfaEdge
impl Sync for NfaEdge
impl Unpin for NfaEdge
impl UnsafeUnpin for NfaEdge
impl UnwindSafe for NfaEdge
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