Enum allegro::display::DisplayOrientation
source · #[repr(u32)]
pub enum DisplayOrientation {
DisplayOrientation0Degrees,
DisplayOrientation90Degrees,
DisplayOrientation180Degrees,
DisplayOrientation270Degrees,
DisplayOrientationFaceUp,
DisplayOrientationFaceDown,
}
Variants
DisplayOrientation0Degrees
DisplayOrientation90Degrees
DisplayOrientation180Degrees
DisplayOrientation270Degrees
DisplayOrientationFaceUp
DisplayOrientationFaceDown
Trait Implementations
sourceimpl Clone for DisplayOrientation
impl Clone for DisplayOrientation
sourcefn clone(&self) -> DisplayOrientation
fn clone(&self) -> DisplayOrientation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DisplayOrientation
Auto Trait Implementations
impl RefUnwindSafe for DisplayOrientation
impl Send for DisplayOrientation
impl Sync for DisplayOrientation
impl Unpin for DisplayOrientation
impl UnwindSafe for DisplayOrientation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more