Struct Registry
pub struct Registry { /* private fields */ }Available on crate feature
sensors only.Expand description
The sensor driver instance registry.
This is exposed as REGISTRY.
Implementations§
§impl Registry
impl Registry
pub fn sensors(&self) -> impl ExactSizeIterator + FusedIterator
pub fn sensors(&self) -> impl ExactSizeIterator + FusedIterator
Returns an iterator over registered sensor driver instances.
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnwindSafe for Registry
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