#[non_exhaustive]pub enum Salinity {
Fresh,
En13319,
Salt,
}Expand description
The water type a device converts pressure to depth with.
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.
Trait Implementations§
impl Copy for Salinity
impl Eq for Salinity
impl StructuralPartialEq for Salinity
Auto Trait Implementations§
impl Forget for Salinity
impl Freeze for Salinity
impl Move for Salinity
impl RefUnwindSafe for Salinity
impl Send for Salinity
impl Sync for Salinity
impl Unpin for Salinity
impl UnsafeUnpin for Salinity
impl UnwindSafe for Salinity
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