pub enum DiveAlarmType {
Depth,
Time,
Speed,
UnknownVariant(u8),
}Variants§
Depth
Alarm when a certain depth is crossed
Time
Alarm when a certain time has transpired
Speed
Alarm when a certain ascent or descent rate is exceeded
UnknownVariant(u8)
Implementations§
Trait Implementations§
Source§impl Clone for DiveAlarmType
impl Clone for DiveAlarmType
Source§fn clone(&self) -> DiveAlarmType
fn clone(&self) -> DiveAlarmType
Returns a duplicate 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 DiveAlarmType
impl Debug for DiveAlarmType
Source§impl Display for DiveAlarmType
impl Display for DiveAlarmType
Source§impl From<&str> for DiveAlarmType
impl From<&str> for DiveAlarmType
Source§impl From<i64> for DiveAlarmType
impl From<i64> for DiveAlarmType
Source§impl From<u8> for DiveAlarmType
impl From<u8> for DiveAlarmType
Source§impl Hash for DiveAlarmType
impl Hash for DiveAlarmType
Source§impl Ord for DiveAlarmType
impl Ord for DiveAlarmType
Source§fn cmp(&self, other: &DiveAlarmType) -> Ordering
fn cmp(&self, other: &DiveAlarmType) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DiveAlarmType
impl PartialEq for DiveAlarmType
Source§impl PartialOrd for DiveAlarmType
impl PartialOrd for DiveAlarmType
Source§impl Serialize for DiveAlarmType
impl Serialize for DiveAlarmType
impl Copy for DiveAlarmType
impl Eq for DiveAlarmType
impl StructuralPartialEq for DiveAlarmType
Auto Trait Implementations§
impl Freeze for DiveAlarmType
impl RefUnwindSafe for DiveAlarmType
impl Send for DiveAlarmType
impl Sync for DiveAlarmType
impl Unpin for DiveAlarmType
impl UnwindSafe for DiveAlarmType
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