pub enum ScreenOrientationType {
PortraitPrimary,
PortraitSecondary,
LandscapePrimary,
LandscapeSecondary,
}Available on crate features
Emulation and DOM and Page and Runtime only.Variants§
PortraitPrimary
portraitPrimary
PortraitSecondary
portraitSecondary
LandscapePrimary
landscapePrimary
LandscapeSecondary
landscapeSecondary
Trait Implementations§
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
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