pub enum StateOperation {
Remove,
Add,
Toggle,
}
Variants§
Trait Implementations§
source§impl Debug for StateOperation
impl Debug for StateOperation
source§impl From<bool> for StateOperation
impl From<bool> for StateOperation
source§fn from(op: bool) -> StateOperation
fn from(op: bool) -> StateOperation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StateOperation
impl Send for StateOperation
impl Sync for StateOperation
impl Unpin for StateOperation
impl UnwindSafe for StateOperation
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