Enum statig::StateOrSuperstate
source · pub enum StateOrSuperstate<'a, 'b, M: StateMachine>where
M::State: 'b,{
State(&'a M::State),
Superstate(&'a M::Superstate<'b>),
}Variants
State(&'a M::State)
Superstate(&'a M::Superstate<'b>)
Trait Implementations
sourceimpl<'a, 'b, M: StateMachine> Debug for StateOrSuperstate<'a, 'b, M>where
M::State: Debug,
M::Superstate<'b>: Debug,
impl<'a, 'b, M: StateMachine> Debug for StateOrSuperstate<'a, 'b, M>where
M::State: Debug,
M::Superstate<'b>: Debug,
Auto Trait Implementations
impl<'a, 'b, M> RefUnwindSafe for StateOrSuperstate<'a, 'b, M>where
<M as StateMachine>::State: RefUnwindSafe,
<M as StateMachine>::Superstate<'b>: RefUnwindSafe,
impl<'a, 'b, M> Send for StateOrSuperstate<'a, 'b, M>where
<M as StateMachine>::State: Sync,
<M as StateMachine>::Superstate<'b>: Sync,
impl<'a, 'b, M> Sync for StateOrSuperstate<'a, 'b, M>where
<M as StateMachine>::State: Sync,
<M as StateMachine>::Superstate<'b>: Sync,
impl<'a, 'b, M> Unpin for StateOrSuperstate<'a, 'b, M>
impl<'a, 'b, M> UnwindSafe for StateOrSuperstate<'a, 'b, M>where
<M as StateMachine>::State: RefUnwindSafe,
<M as StateMachine>::Superstate<'b>: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more