pub struct SensorEntry {
pub factory: fn() -> Arc<dyn Sensor>,
}Fields§
§factory: fn() -> Arc<dyn Sensor>Trait Implementations§
impl Collect for SensorEntry
Auto Trait Implementations§
impl Freeze for SensorEntry
impl RefUnwindSafe for SensorEntry
impl Send for SensorEntry
impl Sync for SensorEntry
impl Unpin for SensorEntry
impl UnsafeUnpin for SensorEntry
impl UnwindSafe for SensorEntry
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