pub enum EV_SW {
Show 17 variants
SW_LID = 0,
SW_TABLET_MODE = 1,
SW_HEADPHONE_INSERT = 2,
SW_RFKILL_ALL = 3,
SW_MICROPHONE_INSERT = 4,
SW_DOCK = 5,
SW_LINEOUT_INSERT = 6,
SW_JACK_PHYSICAL_INSERT = 7,
SW_VIDEOOUT_INSERT = 8,
SW_CAMERA_LENS_COVER = 9,
SW_KEYPAD_SLIDE = 10,
SW_FRONT_PROXIMITY = 11,
SW_ROTATE_LOCK = 12,
SW_LINEIN_INSERT = 13,
SW_MUTE_DEVICE = 14,
SW_PEN_INSERTED = 15,
SW_MACHINE_COVER = 16,
}
Variants§
SW_LID = 0
SW_TABLET_MODE = 1
SW_HEADPHONE_INSERT = 2
SW_RFKILL_ALL = 3
SW_MICROPHONE_INSERT = 4
SW_DOCK = 5
SW_LINEOUT_INSERT = 6
SW_JACK_PHYSICAL_INSERT = 7
SW_VIDEOOUT_INSERT = 8
SW_CAMERA_LENS_COVER = 9
SW_KEYPAD_SLIDE = 10
SW_FRONT_PROXIMITY = 11
SW_ROTATE_LOCK = 12
SW_LINEIN_INSERT = 13
SW_MUTE_DEVICE = 14
SW_PEN_INSERTED = 15
SW_MACHINE_COVER = 16
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for EV_SW
impl<'de> Deserialize<'de> for EV_SW
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for EV_SW
impl Ord for EV_SW
source§impl PartialEq for EV_SW
impl PartialEq for EV_SW
source§impl PartialOrd for EV_SW
impl PartialOrd for EV_SW
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EV_SW
impl Eq for EV_SW
impl StructuralPartialEq for EV_SW
Auto Trait Implementations§
impl Freeze for EV_SW
impl RefUnwindSafe for EV_SW
impl Send for EV_SW
impl Sync for EV_SW
impl Unpin for EV_SW
impl UnwindSafe for EV_SW
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