pub struct State<S, E> {
pub id: StateId,
pub instruction: Instruction<S, E>,
}Expand description
One stable state in a compiled automaton.
Fields§
§id: StateIdStable, dense identifier equal to this state’s position.
instruction: Instruction<S, E>State behavior and outgoing edges.
Trait Implementations§
impl<S: Eq, E: Eq> Eq for State<S, E>
impl<S: PartialEq, E: PartialEq> StructuralPartialEq for State<S, E>
Auto Trait Implementations§
impl<S, E> Freeze for State<S, E>
impl<S, E> RefUnwindSafe for State<S, E>where
S: RefUnwindSafe,
E: RefUnwindSafe,
impl<S, E> Send for State<S, E>
impl<S, E> Sync for State<S, E>
impl<S, E> Unpin for State<S, E>
impl<S, E> UnsafeUnpin for State<S, E>where
S: UnsafeUnpin,
E: UnsafeUnpin,
impl<S, E> UnwindSafe for State<S, E>where
S: UnwindSafe,
E: UnwindSafe,
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