Struct intrepid_core::Ready
source · pub struct Ready<ActionHandler: Clone, Args: Clone, State: Clone> {
pub action: ActionHandler,
pub state: State,
/* private fields */
}Expand description
A Ready type state represents an action which has a handler and a state, and can be
invoked
Fields§
§action: ActionHandlerThe action handler for this ready status struct.
state: StateThe state the ready status contains.
Implementations§
Trait Implementations§
source§impl<ActionHandler: Clone + Clone, Args: Clone + Clone, State: Clone + Clone> Clone for Ready<ActionHandler, Args, State>
impl<ActionHandler: Clone + Clone, Args: Clone + Clone, State: Clone + Clone> Clone for Ready<ActionHandler, Args, State>
source§impl<ActionHandler, Args, State> From<Ready<ActionHandler, Args, State>> for ReadyAction<ActionHandler, Args, State>
impl<ActionHandler, Args, State> From<Ready<ActionHandler, Args, State>> for ReadyAction<ActionHandler, Args, State>
Auto Trait Implementations§
impl<ActionHandler, Args, State> Freeze for Ready<ActionHandler, Args, State>
impl<ActionHandler, Args, State> RefUnwindSafe for Ready<ActionHandler, Args, State>
impl<ActionHandler, Args, State> Send for Ready<ActionHandler, Args, State>
impl<ActionHandler, Args, State> Sync for Ready<ActionHandler, Args, State>
impl<ActionHandler, Args, State> Unpin for Ready<ActionHandler, Args, State>
impl<ActionHandler, Args, State> UnwindSafe for Ready<ActionHandler, Args, State>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)