pub enum YesNoAction {
Yes,
No,
}Expand description
A simple ActionEnum for asking yes/no questions.
Variants§
Trait Implementations§
Source§impl ActionEnum for YesNoAction
impl ActionEnum for YesNoAction
Source§impl From<YesNoAction> for bool
impl From<YesNoAction> for bool
Source§fn from(value: YesNoAction) -> Self
fn from(value: YesNoAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for YesNoAction
impl RefUnwindSafe for YesNoAction
impl Send for YesNoAction
impl Sync for YesNoAction
impl Unpin for YesNoAction
impl UnwindSafe for YesNoAction
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