pub struct TransitionState {
pub current: ContextId,
pub pending: Vec<PendingTransition>,
pub history: Vec<CompletedTransition>,
pub rules: Vec<TransitionRule>,
}Expand description
Context transition state.
Fields§
§current: ContextId§pending: Vec<PendingTransition>§history: Vec<CompletedTransition>§rules: Vec<TransitionRule>Trait Implementations§
Source§impl Clone for TransitionState
impl Clone for TransitionState
Source§fn clone(&self) -> TransitionState
fn clone(&self) -> TransitionState
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 TransitionState
impl Debug for TransitionState
Source§impl<'de> Deserialize<'de> for TransitionState
impl<'de> Deserialize<'de> for TransitionState
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
Auto Trait Implementations§
impl Freeze for TransitionState
impl RefUnwindSafe for TransitionState
impl Send for TransitionState
impl Sync for TransitionState
impl Unpin for TransitionState
impl UnsafeUnpin for TransitionState
impl UnwindSafe for TransitionState
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