pub struct Conductivity(/* private fields */);Expand description
conductivity in µS/cm
Implementations§
source§impl Conductivity
impl Conductivity
pub fn from_us_per_cm(value: f64) -> Conductivity
pub fn as_us_per_cm(&self) -> f64
Trait Implementations§
source§impl Clone for Conductivity
impl Clone for Conductivity
source§fn clone(&self) -> Conductivity
fn clone(&self) -> Conductivity
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 Conductivity
impl Debug for Conductivity
source§impl<'de> Deserialize<'de> for Conductivity
impl<'de> Deserialize<'de> for Conductivity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for Conductivity
impl Display for Conductivity
source§impl From<f64> for Conductivity
impl From<f64> for Conductivity
source§impl PartialEq for Conductivity
impl PartialEq for Conductivity
source§fn eq(&self, other: &Conductivity) -> bool
fn eq(&self, other: &Conductivity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for Conductivity
impl PartialOrd for Conductivity
source§fn partial_cmp(&self, other: &Conductivity) -> Option<Ordering>
fn partial_cmp(&self, other: &Conductivity) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for Conductivity
impl Serialize for Conductivity
impl Copy for Conductivity
impl StructuralPartialEq for Conductivity
Auto Trait Implementations§
impl Freeze for Conductivity
impl RefUnwindSafe for Conductivity
impl Send for Conductivity
impl Sync for Conductivity
impl Unpin for Conductivity
impl UnwindSafe for Conductivity
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