[][src]Enum evdev_rs::enums::EV_SW

pub enum EV_SW {
    SW_LID,
    SW_TABLET_MODE,
    SW_HEADPHONE_INSERT,
    SW_RFKILL_ALL,
    SW_MICROPHONE_INSERT,
    SW_DOCK,
    SW_LINEOUT_INSERT,
    SW_JACK_PHYSICAL_INSERT,
    SW_VIDEOOUT_INSERT,
    SW_CAMERA_LENS_COVER,
    SW_KEYPAD_SLIDE,
    SW_FRONT_PROXIMITY,
    SW_ROTATE_LOCK,
    SW_LINEIN_INSERT,
    SW_MUTE_DEVICE,
    SW_PEN_INSERTED,
}

Variants

SW_LIDSW_TABLET_MODESW_HEADPHONE_INSERTSW_RFKILL_ALLSW_MICROPHONE_INSERTSW_DOCKSW_LINEOUT_INSERTSW_JACK_PHYSICAL_INSERTSW_VIDEOOUT_INSERTSW_CAMERA_LENS_COVERSW_KEYPAD_SLIDESW_FRONT_PROXIMITYSW_ROTATE_LOCKSW_LINEIN_INSERTSW_MUTE_DEVICESW_PEN_INSERTED

Methods

impl EV_SW[src]

pub const SW_MAX: EV_SW[src]

Trait Implementations

impl PartialEq<EV_SW> for EV_SW[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for EV_SW[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for EV_SW[src]

impl Debug for EV_SW[src]

impl Hash for EV_SW[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for EV_SW

impl Sync for EV_SW

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]