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