pub enum ToggleSetting {
On,
Off,
}Variants§
Trait Implementations§
Source§impl Clone for ToggleSetting
impl Clone for ToggleSetting
Source§fn clone(&self) -> ToggleSetting
fn clone(&self) -> ToggleSetting
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 ValueEnum for ToggleSetting
impl ValueEnum for ToggleSetting
impl Copy for ToggleSetting
Auto Trait Implementations§
impl Freeze for ToggleSetting
impl RefUnwindSafe for ToggleSetting
impl Send for ToggleSetting
impl Sync for ToggleSetting
impl Unpin for ToggleSetting
impl UnsafeUnpin for ToggleSetting
impl UnwindSafe for ToggleSetting
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