pub enum LowLightMode {
Disable,
DisableImmediately,
Enable,
}
Variants§
Disable
Device should not be in low-light mode.
DisableImmediately
Device should not be in low-light mode and should transition out of it immediately.
Enable
Device should be in low-light mode.
Trait Implementations§
Source§impl Clone for LowLightMode
impl Clone for LowLightMode
Source§fn clone(&self) -> LowLightMode
fn clone(&self) -> LowLightMode
Returns a copy of the value. Read more
1.0.0 · 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 LowLightMode
impl Debug for LowLightMode
Source§impl<'de> Deserialize<'de> for LowLightMode
impl<'de> Deserialize<'de> for LowLightMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<LowLightMode> for LowLightMode
impl From<LowLightMode> for LowLightMode
Source§fn from(fidl_low_light_mode: FidlLowLightMode) -> Self
fn from(fidl_low_light_mode: FidlLowLightMode) -> Self
Converts to this type from the input type.
Source§impl Hash for LowLightMode
impl Hash for LowLightMode
Source§impl PartialEq for LowLightMode
impl PartialEq for LowLightMode
Source§impl Serialize for LowLightMode
impl Serialize for LowLightMode
impl Copy for LowLightMode
impl Eq for LowLightMode
impl StructuralPartialEq for LowLightMode
Auto Trait Implementations§
impl Freeze for LowLightMode
impl RefUnwindSafe for LowLightMode
impl Send for LowLightMode
impl Sync for LowLightMode
impl Unpin for LowLightMode
impl UnwindSafe for LowLightMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)