[][src]Struct diving_decompression::tables::types::Dive

pub struct Dive {
    pub depth: u16,
    pub bottom_time: u16,
}

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(d: u16, bt: u16) -> Self[src]

Instantiate a new Dive object

Trait Implementations

impl Clone for Dive[src]

impl Copy for Dive[src]

impl Debug for Dive[src]

impl<'de> Deserialize<'de> for Dive[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.