Struct sensehat::RelativeHumidity [−][src]
pub struct RelativeHumidity { /* fields omitted */ }
Represents a relative humidity reading from the humidity sensor
Methods
impl RelativeHumidity
[src]
impl RelativeHumidity
pub fn from_percent(pc: f64) -> RelativeHumidity
[src]
pub fn from_percent(pc: f64) -> RelativeHumidity
pub fn as_percent(&self) -> f64
[src]
pub fn as_percent(&self) -> f64
Trait Implementations
impl Debug for RelativeHumidity
[src]
impl Debug for RelativeHumidity
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for RelativeHumidity
[src]
impl Copy for RelativeHumidity
impl Clone for RelativeHumidity
[src]
impl Clone for RelativeHumidity
fn clone(&self) -> RelativeHumidity
[src]
fn clone(&self) -> RelativeHumidity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Display for RelativeHumidity
[src]
impl Display for RelativeHumidity
Auto Trait Implementations
impl Send for RelativeHumidity
impl Send for RelativeHumidity
impl Sync for RelativeHumidity
impl Sync for RelativeHumidity