[][src]Struct fermium::scancode::SDL_Scancode

#[repr(transparent)]pub struct SDL_Scancode(pub i32);

The SDL keyboard scancode representation.

This is used in places like the [SDL_Keysym] struct for the "hardware" / "physical" designation of a key.

The values in this enumeration are based on the USB usage page standard: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf

See all the constants named SDL_SCANCODE_*

Trait Implementations

impl Clone for SDL_Scancode[src]

impl Copy for SDL_Scancode[src]

impl Debug for SDL_Scancode[src]

impl Default for SDL_Scancode[src]

impl Eq for SDL_Scancode[src]

impl Hash for SDL_Scancode[src]

impl Ord for SDL_Scancode[src]

impl PartialEq<SDL_Scancode> for SDL_Scancode[src]

impl PartialOrd<SDL_Scancode> for SDL_Scancode[src]

impl StructuralEq for SDL_Scancode[src]

impl StructuralPartialEq for SDL_Scancode[src]

Auto Trait Implementations

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, 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.