[−][src]Struct diving_decompression::Dive
single dive object
Fields
depth: u16
depth of the dive expressed in feet of sea water
bottom_time: u16
bottom time of the dive expressed in minutes
Implementations
impl Dive
[src]
pub fn new(depth: u16, bottom_time: u16) -> Self
[src]
Instantiate a new Dive object
pub fn no_decompression_limit(self) -> u16
[src]
Returns the no decompression limit of the Dive Object up to a depth of 190 feet of sea water No decompression limit is returned in minutes as u16 integer
pub fn group_letter(self) -> String
[src]
returns the group letter of the Dive object. the depth is expressed in feet of sea water the bottom_time is expressed in minutes the group letter is returned as a String
pub fn deco_dive(self) -> RowDeco
[src]
returns the decompression profile of the Dive object. the depth is expressed in feet of sea water the bottom_time is expressed in minutes the decompression profile is returned as a RowDeco struct
Trait Implementations
impl Clone for Dive
[src]
impl Copy for Dive
[src]
impl Debug for Dive
[src]
impl<'de> Deserialize<'de> for Dive
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Dive
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dive
impl Send for Dive
impl Sync for Dive
impl Unpin for Dive
impl UnwindSafe for Dive
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,