pub enum WearableShape {
Round,
Squircle,
Rectangular,
}Expand description
Physical screen geometry of a smartwatch or fitness band display.
Variants§
Round
Circular watch dial requiring inscribed square safe-area clearance.
Squircle
Rounded-corner square display (e.g. Apple Watch, Watch Fit, Amazfit GTS).
Rectangular
Tall narrow rectangular display (fitness bands and rectangular watches).
Trait Implementations§
Source§impl Clone for WearableShape
impl Clone for WearableShape
impl Copy for WearableShape
Source§impl Debug for WearableShape
impl Debug for WearableShape
Source§impl Default for WearableShape
impl Default for WearableShape
impl Eq for WearableShape
Source§impl Hash for WearableShape
impl Hash for WearableShape
Source§impl Ord for WearableShape
impl Ord for WearableShape
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WearableShape
impl PartialEq for WearableShape
Source§impl PartialOrd for WearableShape
impl PartialOrd for WearableShape
impl StructuralPartialEq for WearableShape
Auto Trait Implementations§
impl Forget for WearableShape
impl Freeze for WearableShape
impl Move for WearableShape
impl RefUnwindSafe for WearableShape
impl Send for WearableShape
impl Sync for WearableShape
impl Unpin for WearableShape
impl UnsafeUnpin for WearableShape
impl UnwindSafe for WearableShape
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