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