pub struct Transition<S> {
pub state: S,
pub effects: Vec<Effect>,
}Expand description
A flow moved on: the new state and what to do.
Fields§
§state: SThe new state.
effects: Vec<Effect>What to do, in order.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Transition<S>where
S: Freeze,
impl<S> RefUnwindSafe for Transition<S>where
S: RefUnwindSafe,
impl<S> Send for Transition<S>where
S: Send,
impl<S> Sync for Transition<S>where
S: Sync,
impl<S> Unpin for Transition<S>where
S: Unpin,
impl<S> UnsafeUnpin for Transition<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Transition<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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