#[non_exhaustive]#[repr(u8)]pub enum WatchfaceMode {
Digital = 0,
Analog = 1,
ConnectIq = 2,
Disabled = 3,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl WatchfaceMode
impl WatchfaceMode
Trait Implementations§
Source§impl Clone for WatchfaceMode
impl Clone for WatchfaceMode
Source§fn clone(&self) -> WatchfaceMode
fn clone(&self) -> WatchfaceMode
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 WatchfaceMode
impl Debug for WatchfaceMode
Source§impl Hash for WatchfaceMode
impl Hash for WatchfaceMode
Source§impl PartialEq for WatchfaceMode
impl PartialEq for WatchfaceMode
Source§fn eq(&self, other: &WatchfaceMode) -> bool
fn eq(&self, other: &WatchfaceMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WatchfaceMode
impl Eq for WatchfaceMode
impl StructuralPartialEq for WatchfaceMode
Auto Trait Implementations§
impl Freeze for WatchfaceMode
impl RefUnwindSafe for WatchfaceMode
impl Send for WatchfaceMode
impl Sync for WatchfaceMode
impl Unpin for WatchfaceMode
impl UnsafeUnpin for WatchfaceMode
impl UnwindSafe for WatchfaceMode
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