Struct dive_deco::BuehlmannModel
source · pub struct BuehlmannModel { /* private fields */ }
Implementations§
source§impl BuehlmannModel
impl BuehlmannModel
sourcepub fn supersaturation(&self) -> Supersaturation
pub fn supersaturation(&self) -> Supersaturation
set of current gradient factors (GF now, GF surface)
pub fn gfs_current(&self) -> (Pressure, Pressure)
👎Deprecated since 1.2.0: use
supersaturation
method insteadTrait Implementations§
source§impl Clone for BuehlmannModel
impl Clone for BuehlmannModel
source§fn clone(&self) -> BuehlmannModel
fn clone(&self) -> BuehlmannModel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BuehlmannModel
impl Debug for BuehlmannModel
source§impl DecoModel for BuehlmannModel
impl DecoModel for BuehlmannModel
source§fn new(config: BuehlmannConfig) -> Self
fn new(config: BuehlmannConfig) -> Self
initialize new Buehlmann (ZH-L16C) model with gradient factors
source§fn step(&mut self, depth: &Depth, time: &Seconds, gas: &Gas)
fn step(&mut self, depth: &Depth, time: &Seconds, gas: &Gas)
model step: depth (meters), time (seconds), gas
type ConfigType = BuehlmannConfig
source§fn config(&self) -> BuehlmannConfig
fn config(&self) -> BuehlmannConfig
get model config
source§fn dive_state(&self) -> DiveState
fn dive_state(&self) -> DiveState
get model dive state
Auto Trait Implementations§
impl Freeze for BuehlmannModel
impl RefUnwindSafe for BuehlmannModel
impl Send for BuehlmannModel
impl Sync for BuehlmannModel
impl Unpin for BuehlmannModel
impl UnwindSafe for BuehlmannModel
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