pub struct StateRow {
pub id: StateId,
pub start: bool,
pub accept: bool,
pub term: Option<TermView>,
pub transitions: Vec<String>,
pub origin: Option<String>,
}Expand description
One row of the NFA state table.
Fields§
§id: StateIdState id, as used inside the automaton.
start: booltrue for the start state.
accept: booltrue for the accepting state.
term: Option<TermView>The term a consuming transition into this state must match.
transitions: Vec<String>Outgoing transitions, in declaration order.
origin: Option<String>file:line:column, when the state carries an origin.
Trait Implementations§
Auto Trait Implementations§
impl Forget for StateRow
impl Freeze for StateRow
impl Move for StateRow
impl RefUnwindSafe for StateRow
impl Send for StateRow
impl Sync for StateRowwhere
RawVecInner: Sync,
impl Unpin for StateRow
impl UnsafeUnpin for StateRowwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
&'static str: UnsafeUnpin,
impl UnwindSafe for StateRow
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