#[non_exhaustive]pub enum DiveMode {
OpenCircuit,
ClosedCircuit,
SemiClosed,
Gauge,
Freedive,
}Expand description
The mode a dive computer ran in.
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.
OpenCircuit
Open circuit.
ClosedCircuit
Closed-circuit rebreather.
SemiClosed
Semi-closed rebreather.
Gauge
Depth and time only, no decompression calculation.
Freedive
Breath-hold diving.
Trait Implementations§
impl Copy for DiveMode
impl Eq for DiveMode
impl StructuralPartialEq for DiveMode
Auto Trait Implementations§
impl Forget for DiveMode
impl Freeze for DiveMode
impl Move for DiveMode
impl RefUnwindSafe for DiveMode
impl Send for DiveMode
impl Sync for DiveMode
impl Unpin for DiveMode
impl UnsafeUnpin for DiveMode
impl UnwindSafe for DiveMode
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