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

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_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

Implementations

impl EV_SW[src]

pub const SW_MAX: EV_SW[src]

Trait Implementations

impl Clone for EV_SW[src]

impl Debug for EV_SW[src]

impl Eq for EV_SW[src]

impl Hash for EV_SW[src]

impl PartialEq<EV_SW> for EV_SW[src]

impl StructuralEq for EV_SW[src]

impl StructuralPartialEq for EV_SW[src]

Auto Trait Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.