pub struct NfaTransition {
pub target: StateId,
pub kind: TransitionKind,
}Expand description
A transition between NFA states
Fields§
§target: StateIdTarget state ID
kind: TransitionKindTransition type (epsilon or consuming)
Implementations§
Trait 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 moreimpl Copy for NfaTransition
Source§impl Debug for NfaTransition
impl Debug for NfaTransition
impl Eq for NfaTransition
Source§impl PartialEq for NfaTransition
impl PartialEq for NfaTransition
Source§fn eq(&self, other: &NfaTransition) -> bool
fn eq(&self, other: &NfaTransition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NfaTransition
Auto 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