pub enum DisplayFeatureOrientation {
Vertical,
Horizontal,
Unrecognized(String),
}Expand description
The values orientation accepts on DisplayFeature.
Variants§
Vertical
vertical
Horizontal
horizontal
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 DisplayFeatureOrientation
impl Clone for DisplayFeatureOrientation
Source§impl Debug for DisplayFeatureOrientation
impl Debug for DisplayFeatureOrientation
Source§impl<'de> Deserialize<'de> for DisplayFeatureOrientation
impl<'de> Deserialize<'de> for DisplayFeatureOrientation
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 DisplayFeatureOrientation
Source§impl Hash for DisplayFeatureOrientation
impl Hash for DisplayFeatureOrientation
impl StructuralPartialEq for DisplayFeatureOrientation
Auto Trait Implementations§
impl Forget for DisplayFeatureOrientation
impl Freeze for DisplayFeatureOrientation
impl RefUnwindSafe for DisplayFeatureOrientation
impl Send for DisplayFeatureOrientation
impl Sync for DisplayFeatureOrientation
impl Unpin for DisplayFeatureOrientation
impl UnsafeUnpin for DisplayFeatureOrientation
impl UnwindSafe for DisplayFeatureOrientation
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