[][src]Struct capra_core::deco::tissue::Tissue

pub struct Tissue { /* fields omitted */ }

A set of tissues for use in decompression models, comprising a set of tissues for nitrogen and another set for helium.

Implementations

impl Tissue[src]

pub fn new(p_n2: [f64; 16], p_he: [f64; 16], p_t: [f64; 16]) -> Self[src]

Returns a new Tissue with the given parameters.

Arguments

  • p_n2 - Set of tissues for nitrogen
  • p_he - Set of tissues for nitrogen
  • p_t - Total pressure of all tissues

pub fn p_n2(&self) -> [f64; 16][src]

pub fn p_he(&self) -> [f64; 16][src]

Trait Implementations

impl Clone for Tissue[src]

impl Copy for Tissue[src]

impl Debug for Tissue[src]

impl Default for Tissue[src]

fn default() -> Self[src]

A default value for tissues. This is the tissue loading of a diver who has been breathing air at 1 atm for a long time.

Auto Trait Implementations

impl RefUnwindSafe for Tissue

impl Send for Tissue

impl Sync for Tissue

impl Unpin for Tissue

impl UnwindSafe for Tissue

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> 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.