pub enum TogglePatch {
On(bool),
Enabled(bool),
}Variants§
Trait Implementations§
Source§impl Clone for TogglePatch
impl Clone for TogglePatch
Source§fn clone(&self) -> TogglePatch
fn clone(&self) -> TogglePatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TogglePatch
impl Debug for TogglePatch
Source§impl PartialEq for TogglePatch
impl PartialEq for TogglePatch
Source§fn eq(&self, other: &TogglePatch) -> bool
fn eq(&self, other: &TogglePatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TogglePatch
Auto Trait Implementations§
impl Freeze for TogglePatch
impl RefUnwindSafe for TogglePatch
impl Send for TogglePatch
impl Sync for TogglePatch
impl Unpin for TogglePatch
impl UnsafeUnpin for TogglePatch
impl UnwindSafe for TogglePatch
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