Enum sdl2_sys::SDL_DisplayOrientation [−][src]
#[repr(u32)] 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 Clone for SDL_DisplayOrientation
[src]fn clone(&self) -> SDL_DisplayOrientation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SDL_DisplayOrientation
[src]
impl Copy for SDL_DisplayOrientation
[src]impl Eq for SDL_DisplayOrientation
[src]
impl Eq for SDL_DisplayOrientation
[src]impl Hash for SDL_DisplayOrientation
[src]
impl Hash for SDL_DisplayOrientation
[src]impl PartialEq<SDL_DisplayOrientation> for SDL_DisplayOrientation
[src]
impl PartialEq<SDL_DisplayOrientation> for SDL_DisplayOrientation
[src]fn eq(&self, other: &SDL_DisplayOrientation) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for SDL_DisplayOrientation
[src]
impl StructuralEq for SDL_DisplayOrientation
[src]Auto Trait Implementations
impl Send for SDL_DisplayOrientation
impl Send for SDL_DisplayOrientation
impl Sync for SDL_DisplayOrientation
impl Sync for SDL_DisplayOrientation
impl Unpin for SDL_DisplayOrientation
impl Unpin for SDL_DisplayOrientation