pub struct AutoState {
pub current: bool,
pub default: bool,
}Expand description
One auto toggle’s live and default state, read from the device.
Fields§
§current: bool§default: boolTrait Implementations§
impl Copy for AutoState
impl Eq for AutoState
impl StructuralPartialEq for AutoState
Auto Trait Implementations§
impl Freeze for AutoState
impl RefUnwindSafe for AutoState
impl Send for AutoState
impl Sync for AutoState
impl Unpin for AutoState
impl UnsafeUnpin for AutoState
impl UnwindSafe for AutoState
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