pub enum ScreenOrientationType {
PortraitPrimary,
PortraitSecondary,
LandscapePrimary,
LandscapeSecondary,
}Expand description
Orientation type.
Variants§
Trait Implementations§
Source§impl AsRef<str> for ScreenOrientationType
impl AsRef<str> for ScreenOrientationType
Source§impl Clone for ScreenOrientationType
impl Clone for ScreenOrientationType
Source§fn clone(&self) -> ScreenOrientationType
fn clone(&self) -> ScreenOrientationType
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 ScreenOrientationType
impl Debug for ScreenOrientationType
Source§impl<'de> Deserialize<'de> for ScreenOrientationType
impl<'de> Deserialize<'de> for ScreenOrientationType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for ScreenOrientationType
impl FromStr for ScreenOrientationType
Source§impl Hash for ScreenOrientationType
impl Hash for ScreenOrientationType
Source§impl PartialEq for ScreenOrientationType
impl PartialEq for ScreenOrientationType
Source§impl Serialize for ScreenOrientationType
impl Serialize for ScreenOrientationType
impl Eq for ScreenOrientationType
impl StructuralPartialEq for ScreenOrientationType
Auto Trait Implementations§
impl Freeze for ScreenOrientationType
impl RefUnwindSafe for ScreenOrientationType
impl Send for ScreenOrientationType
impl Sync for ScreenOrientationType
impl Unpin for ScreenOrientationType
impl UnwindSafe for ScreenOrientationType
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