[−][src]Enum sdl2_sys::SDL_DisplayOrientation
pub enum SDL_DisplayOrientation { SDL_ORIENTATION_UNKNOWN, SDL_ORIENTATION_LANDSCAPE, SDL_ORIENTATION_LANDSCAPE_FLIPPED, SDL_ORIENTATION_PORTRAIT, SDL_ORIENTATION_PORTRAIT_FLIPPED, }
Variants
< The display orientation can't be determined
< The display is in landscape mode, with the right side up, relative to portrait mode
< The display is in landscape mode, with the left side up, relative to portrait mode
< The display is in portrait mode
< 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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,