pub enum ModeSetting {
NotRecognized,
Set,
Reset,
PermanentlySet,
PermanentlyReset,
}Variants§
Implementations§
Source§impl ModeSetting
impl ModeSetting
pub fn is_recognized(&self) -> bool
pub fn is_enabled(&self) -> bool
pub fn is_disabled(&self) -> bool
pub fn is_configurable(&self) -> bool
Trait Implementations§
Source§impl Debug for ModeSetting
impl Debug for ModeSetting
Source§impl PartialEq for ModeSetting
impl PartialEq for ModeSetting
impl StructuralPartialEq for ModeSetting
Auto Trait Implementations§
impl Freeze for ModeSetting
impl RefUnwindSafe for ModeSetting
impl Send for ModeSetting
impl Sync for ModeSetting
impl Unpin for ModeSetting
impl UnsafeUnpin for ModeSetting
impl UnwindSafe for ModeSetting
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