[][src]Enum sdl2_sys::SDL_DisplayOrientation

#[repr(u32)]pub enum SDL_DisplayOrientation {
    SDL_ORIENTATION_UNKNOWN,
    SDL_ORIENTATION_LANDSCAPE,
    SDL_ORIENTATION_LANDSCAPE_FLIPPED,
    SDL_ORIENTATION_PORTRAIT,
    SDL_ORIENTATION_PORTRAIT_FLIPPED,
}

Variants

SDL_ORIENTATION_UNKNOWN

< The display orientation can't be determined

SDL_ORIENTATION_LANDSCAPE

< The display is in landscape mode, with the right side up, relative to portrait mode

SDL_ORIENTATION_LANDSCAPE_FLIPPED

< The display is in landscape mode, with the left side up, relative to portrait mode

SDL_ORIENTATION_PORTRAIT

< The display is in portrait mode

SDL_ORIENTATION_PORTRAIT_FLIPPED

< The display is in portrait mode, upside down

Trait Implementations

impl Clone for SDL_DisplayOrientation[src]

impl Copy for SDL_DisplayOrientation[src]

impl Debug for SDL_DisplayOrientation[src]

impl Eq for SDL_DisplayOrientation[src]

impl Hash for SDL_DisplayOrientation[src]

impl PartialEq<SDL_DisplayOrientation> for SDL_DisplayOrientation[src]

impl StructuralEq for SDL_DisplayOrientation[src]

impl StructuralPartialEq for SDL_DisplayOrientation[src]

Auto Trait Implementations

impl Send for SDL_DisplayOrientation

impl Sync for SDL_DisplayOrientation

impl Unpin for SDL_DisplayOrientation

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.