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: ActionHandler
The action handler for this ready status struct.
state: State
The 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