pub struct BuhlmannConfig {
pub gf: GradientFactors,
pub surface_pressure: i32,
pub deco_ascent_rate: f64,
pub ceiling_type: CeilingType,
pub round_ceiling: bool,
pub recalc_all_tissues_m_values: bool,
}Fields§
§gf: GradientFactors§surface_pressure: i32§deco_ascent_rate: f64§ceiling_type: CeilingType§round_ceiling: bool§recalc_all_tissues_m_values: boolImplementations§
Source§impl BuhlmannConfig
impl BuhlmannConfig
pub fn new() -> Self
pub fn with_gradient_factors<T: Into<u8>>(self, gf_low: T, gf_high: T) -> Self
pub fn with_surface_pressure<T: Into<i32>>(self, surface_pressure: T) -> Self
pub fn with_deco_ascent_rate<T: Into<f64>>(self, deco_ascent_rate: T) -> Self
pub fn with_ceiling_type(self, ceiling_type: CeilingType) -> Self
pub fn with_round_ceiling(self, round_ceiling: bool) -> Self
pub fn with_all_m_values_recalculated( self, recalc_all_tissues_m_values: bool, ) -> Self
Trait Implementations§
Source§impl Clone for BuhlmannConfig
impl Clone for BuhlmannConfig
Source§fn clone(&self) -> BuhlmannConfig
fn clone(&self) -> BuhlmannConfig
Returns a duplicate 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 BuhlmannConfig
impl Debug for BuhlmannConfig
Source§impl Default for BuhlmannConfig
impl Default for BuhlmannConfig
Source§impl PartialEq for BuhlmannConfig
impl PartialEq for BuhlmannConfig
impl Copy for BuhlmannConfig
impl StructuralPartialEq for BuhlmannConfig
Auto Trait Implementations§
impl Freeze for BuhlmannConfig
impl RefUnwindSafe for BuhlmannConfig
impl Send for BuhlmannConfig
impl Sync for BuhlmannConfig
impl Unpin for BuhlmannConfig
impl UnwindSafe for BuhlmannConfig
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