#[repr(u32)]pub enum OSScreenOrientation {
Landscape = 0,
Portrait = 1,
ReverseLandscape = 2,
ReversePortrait = 3,
SensorLandscape = 4,
SensorPortrait = 5,
Sensor = 6,
}
Variants§
Landscape = 0
Portrait = 1
ReverseLandscape = 2
ReversePortrait = 3
SensorLandscape = 4
SensorPortrait = 5
Sensor = 6
Trait Implementations§
Source§impl Clone for OSScreenOrientation
impl Clone for OSScreenOrientation
Source§fn clone(&self) -> OSScreenOrientation
fn clone(&self) -> OSScreenOrientation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OSScreenOrientation
impl Debug for OSScreenOrientation
Source§impl Hash for OSScreenOrientation
impl Hash for OSScreenOrientation
Source§impl PartialEq for OSScreenOrientation
impl PartialEq for OSScreenOrientation
impl Copy for OSScreenOrientation
impl Eq for OSScreenOrientation
impl StructuralPartialEq for OSScreenOrientation
Auto Trait Implementations§
impl Freeze for OSScreenOrientation
impl RefUnwindSafe for OSScreenOrientation
impl Send for OSScreenOrientation
impl Sync for OSScreenOrientation
impl Unpin for OSScreenOrientation
impl UnwindSafe for OSScreenOrientation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more