pub struct NfaTransition {
pub label: Option<String>,
pub target: StateId,
}Expand description
NFA transition target. Some(label) is a labeled edge consumed by
matching that label; None is an epsilon transition.
Fields§
§label: Option<String>§target: StateIdTrait Implementations§
Source§impl Clone for NfaTransition
impl Clone for NfaTransition
Source§fn clone(&self) -> NfaTransition
fn clone(&self) -> NfaTransition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NfaTransition
impl RefUnwindSafe for NfaTransition
impl Send for NfaTransition
impl Sync for NfaTransition
impl Unpin for NfaTransition
impl UnsafeUnpin for NfaTransition
impl UnwindSafe for NfaTransition
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