[][src]Struct sunrise_libuser::keyboard::HidKeyboardStateType

#[repr(transparent)]pub struct HidKeyboardStateType(pub u8);

Define the type of the data contained in HidKeyboardState.

Implementations

impl HidKeyboardStateType[src]

pub const Scancode: HidKeyboardStateType[src]

This entry is a scancode, the field data contains a scancode.

pub const Ascii: HidKeyboardStateType[src]

This entry is an ascii char, the field data contains an ascii char.

pub const Control: HidKeyboardStateType[src]

This entry is an old PS2 control key that cannot be mapped as a scancode or char value.

pub const Unknown: HidKeyboardStateType[src]

This entry is unknown.

Trait Implementations

impl Clone for HidKeyboardStateType[src]

impl Copy for HidKeyboardStateType[src]

impl Debug for HidKeyboardStateType[src]

impl Eq for HidKeyboardStateType[src]

impl PartialEq<HidKeyboardStateType> for HidKeyboardStateType[src]

impl StructuralEq for HidKeyboardStateType[src]

impl StructuralPartialEq for HidKeyboardStateType[src]

Auto Trait Implementations

impl RefUnwindSafe for HidKeyboardStateType

impl Send for HidKeyboardStateType

impl Sync for HidKeyboardStateType

impl Unpin for HidKeyboardStateType

impl UnwindSafe for HidKeyboardStateType

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> SizedIPCBuffer for 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.