pub enum LidState {
Open,
Closed,
Unknown,
}Expand description
Laptop lid state.
Variants§
Trait Implementations§
impl Copy for LidState
impl Eq for LidState
impl StructuralPartialEq for LidState
Auto Trait Implementations§
impl Freeze for LidState
impl RefUnwindSafe for LidState
impl Send for LidState
impl Sync for LidState
impl Unpin for LidState
impl UnwindSafe for LidState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)