[][src]Struct sen0177::Reading

pub struct Reading { /* fields omitted */ }

A single air quality sensor reading

Implementations

impl Reading[src]

pub fn pm1(&self) -> f64[src]

Returns the PM1 concentration in µg/m³

pub fn pm2_5(&self) -> f64[src]

Returns the PM2.5 concentration in µg/m³

pub fn pm10(&self) -> f64[src]

Returns the PM10 concentration in µg/m³

Trait Implementations

impl Clone for Reading[src]

impl Copy for Reading[src]

impl Debug for Reading[src]

Auto Trait Implementations

impl RefUnwindSafe for Reading

impl Send for Reading

impl Sync for Reading

impl Unpin for Reading

impl UnwindSafe for Reading

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.