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