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