pub enum ActionResult<State, Output> {
Disabled,
Enabled(State, Output),
}Variants§
Implementations§
Source§impl<State, Output> ActionResult<State, Output>
impl<State, Output> ActionResult<State, Output>
pub fn arrow_1(self) -> Output
pub fn arrow_0(self) -> State
pub fn arrow_Enabled_0(self) -> State
pub fn arrow_Enabled_1(self) -> Output
Auto Trait Implementations§
impl<State, Output> Freeze for ActionResult<State, Output>
impl<State, Output> RefUnwindSafe for ActionResult<State, Output>where
State: RefUnwindSafe,
Output: RefUnwindSafe,
impl<State, Output> Send for ActionResult<State, Output>
impl<State, Output> Sync for ActionResult<State, Output>
impl<State, Output> Unpin for ActionResult<State, Output>
impl<State, Output> UnwindSafe for ActionResult<State, Output>where
State: UnwindSafe,
Output: UnwindSafe,
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