Struct Samples
pub struct Samples { /* private fields */ }Available on crate feature
sensors only.Expand description
Implementations§
Trait Implementations§
§impl Reading for Samples
impl Reading for Samples
§fn sample(&self) -> (ReadingChannel, Sample)
fn sample(&self) -> (ReadingChannel, Sample)
Returns the first value returned by
Reading::samples().§fn samples(&self) -> impl ExactSizeIterator + FusedIterator
fn samples(&self) -> impl ExactSizeIterator + FusedIterator
§impl SensorAccess for Samples
impl SensorAccess for Samples
impl Copy for Samples
Auto Trait Implementations§
impl Freeze for Samples
impl !RefUnwindSafe for Samples
impl Send for Samples
impl Sync for Samples
impl Unpin for Samples
impl !UnwindSafe for Samples
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