#[non_exhaustive]pub enum ScreenOrientation {
Portrait,
Landscape,
Square,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ScreenOrientation
impl Clone for ScreenOrientation
impl Copy for ScreenOrientation
Source§impl Debug for ScreenOrientation
impl Debug for ScreenOrientation
Source§impl Default for ScreenOrientation
impl Default for ScreenOrientation
impl Eq for ScreenOrientation
Source§impl Hash for ScreenOrientation
impl Hash for ScreenOrientation
Source§impl PartialEq for ScreenOrientation
impl PartialEq for ScreenOrientation
impl StructuralPartialEq 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 UnsafeUnpin 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