pub struct StateTable { /* private fields */ }
Expand description
Implementations§
Source§impl StateTable
impl StateTable
Sourcepub fn fallback_state(&self) -> State
pub fn fallback_state(&self) -> State
Returns the state to which a fallback transition leads.
A fallback transition is the catch-all transition triggered if none of the transitions were triggered.
Sourcepub fn array_transitions(&self) -> &[ArrayTransition]
pub fn array_transitions(&self) -> &[ArrayTransition]
Returns the collection of labelled array transitions from this state.
A transition is triggered if the ArrayTransition
is matched and leads
to the contained State
.
Sourcepub fn member_transitions(&self) -> &[MemberTransition] ⓘ
pub fn member_transitions(&self) -> &[MemberTransition] ⓘ
Returns the collection of labelled member transitions from this state.
A transition is triggered if the MemberTransition
is matched and leads
to the contained State
.
Trait Implementations§
Source§impl Clone for StateTable
impl Clone for StateTable
Source§fn clone(&self) -> StateTable
fn clone(&self) -> StateTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StateTable
impl Debug for StateTable
Source§impl Default for StateTable
impl Default for StateTable
Source§impl<'de> Deserialize<'de> for StateTable
impl<'de> Deserialize<'de> for StateTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StateTable
impl PartialEq for StateTable
Source§impl Serialize for StateTable
impl Serialize for StateTable
impl Eq for StateTable
Auto Trait Implementations§
impl Freeze for StateTable
impl RefUnwindSafe for StateTable
impl Send for StateTable
impl Sync for StateTable
impl Unpin for StateTable
impl UnwindSafe for StateTable
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