pub enum ScreenOrientationType {
PortraitPrimary,
PortraitSecondary,
LandscapePrimary,
LandscapeSecondary,
Unrecognized(String),
}Expand description
The values type accepts on ScreenOrientation.
Variants§
PortraitPrimary
portraitPrimary
PortraitSecondary
portraitSecondary
LandscapePrimary
landscapePrimary
LandscapeSecondary
landscapeSecondary
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for ScreenOrientationType
impl Clone for ScreenOrientationType
Source§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
impl Eq 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 StructuralPartialEq for ScreenOrientationType
Auto Trait Implementations§
impl Forget for ScreenOrientationType
impl Freeze for ScreenOrientationType
impl RefUnwindSafe for ScreenOrientationType
impl Send for ScreenOrientationType
impl Sync for ScreenOrientationType
impl Unpin for ScreenOrientationType
impl UnsafeUnpin 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