Enum ublox::OdoProfile
source · #[repr(u8)]pub enum OdoProfile {
Running = 0,
Cycling = 1,
Swimming = 2,
Car = 3,
Custom = 4,
}
Expand description
Odometer configuration profile
Variants§
Trait Implementations§
source§impl Clone for OdoProfile
impl Clone for OdoProfile
source§fn clone(&self) -> OdoProfile
fn clone(&self) -> OdoProfile
Returns a copy of the value. Read more
1.0.0 · 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 OdoProfile
impl Debug for OdoProfile
source§impl Default for OdoProfile
impl Default for OdoProfile
source§fn default() -> OdoProfile
fn default() -> OdoProfile
Returns the “default value” for a type. Read more
source§impl Serialize for OdoProfile
impl Serialize for OdoProfile
impl Copy for OdoProfile
Auto Trait Implementations§
impl RefUnwindSafe for OdoProfile
impl Send for OdoProfile
impl Sync for OdoProfile
impl Unpin for OdoProfile
impl UnwindSafe for OdoProfile
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