pub struct BatteryRuntimeDeps {
pub battery_status_recv: Receiver<HostBatteryUpdate>,
pub notify_interrupt: LineInterrupt,
}Expand description
Various runtime objects used by the BatteryDevice
Fields§
§battery_status_recv: Receiver<HostBatteryUpdate>§notify_interrupt: LineInterruptAuto Trait Implementations§
impl Freeze for BatteryRuntimeDeps
impl !RefUnwindSafe for BatteryRuntimeDeps
impl Send for BatteryRuntimeDeps
impl Sync for BatteryRuntimeDeps
impl Unpin for BatteryRuntimeDeps
impl !UnwindSafe for BatteryRuntimeDeps
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