pub struct ScreenOrientation {
pub orientation_type: ScreenOrientationType,
pub angle: i32,
}Expand description
Screen orientation.
Fields§
§orientation_type: ScreenOrientationTypeOrientation type.
angle: i32Orientation angle.
Trait Implementations§
Source§impl Clone for ScreenOrientation
impl Clone for ScreenOrientation
Source§fn clone(&self) -> ScreenOrientation
fn clone(&self) -> ScreenOrientation
Returns a duplicate 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 ScreenOrientation
impl Debug for ScreenOrientation
Auto Trait Implementations§
impl Freeze for ScreenOrientation
impl RefUnwindSafe for ScreenOrientation
impl Send for ScreenOrientation
impl Sync for ScreenOrientation
impl Unpin for ScreenOrientation
impl UnwindSafe for ScreenOrientation
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