#[non_exhaustive]#[repr(u8)]pub enum DigitalWatchfaceLayout {
Traditional = 0,
Modern = 1,
Bold = 2,
}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§
Trait Implementations§
Source§impl Clone for DigitalWatchfaceLayout
impl Clone for DigitalWatchfaceLayout
Source§fn clone(&self) -> DigitalWatchfaceLayout
fn clone(&self) -> DigitalWatchfaceLayout
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 DigitalWatchfaceLayout
impl Debug for DigitalWatchfaceLayout
Source§impl Hash for DigitalWatchfaceLayout
impl Hash for DigitalWatchfaceLayout
Source§impl PartialEq for DigitalWatchfaceLayout
impl PartialEq for DigitalWatchfaceLayout
Source§fn eq(&self, other: &DigitalWatchfaceLayout) -> bool
fn eq(&self, other: &DigitalWatchfaceLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DigitalWatchfaceLayout
impl Eq for DigitalWatchfaceLayout
impl StructuralPartialEq for DigitalWatchfaceLayout
Auto Trait Implementations§
impl Freeze for DigitalWatchfaceLayout
impl RefUnwindSafe for DigitalWatchfaceLayout
impl Send for DigitalWatchfaceLayout
impl Sync for DigitalWatchfaceLayout
impl Unpin for DigitalWatchfaceLayout
impl UnsafeUnpin for DigitalWatchfaceLayout
impl UnwindSafe for DigitalWatchfaceLayout
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