pub struct DriverModelState {
pub current: DriverModel,
pub pending: DriverModel,
}
Expand description
Returned from Device.driver_model()
Fields§
§current: DriverModel
§pending: DriverModel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DriverModelState
impl RefUnwindSafe for DriverModelState
impl Send for DriverModelState
impl Sync for DriverModelState
impl Unpin for DriverModelState
impl UnwindSafe for DriverModelState
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