pub enum LaptopModule {
IdeapadAcpi,
IdeapadLaptop,
ThinkpadAcpi,
AsusWmi,
None,
}Expand description
Detect which laptop module is loaded
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LaptopModule
impl Clone for LaptopModule
Source§fn clone(&self) -> LaptopModule
fn clone(&self) -> LaptopModule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LaptopModule
Source§impl Debug for LaptopModule
impl Debug for LaptopModule
Source§impl PartialEq for LaptopModule
impl PartialEq for LaptopModule
impl StructuralPartialEq for LaptopModule
Auto Trait Implementations§
impl Freeze for LaptopModule
impl RefUnwindSafe for LaptopModule
impl Send for LaptopModule
impl Sync for LaptopModule
impl Unpin for LaptopModule
impl UnsafeUnpin for LaptopModule
impl UnwindSafe for LaptopModule
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