pub enum ScrollOrientation {
Horizontal,
Vertical,
Unrecognized(String),
}Expand description
Physical scroll orientation
Variants§
Horizontal
horizontal
Vertical
vertical
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 ScrollOrientation
impl Clone for ScrollOrientation
Source§impl Debug for ScrollOrientation
impl Debug for ScrollOrientation
Source§impl<'de> Deserialize<'de> for ScrollOrientation
impl<'de> Deserialize<'de> for ScrollOrientation
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 ScrollOrientation
Source§impl Hash for ScrollOrientation
impl Hash for ScrollOrientation
Source§impl PartialEq for ScrollOrientation
impl PartialEq for ScrollOrientation
Source§impl Serialize for ScrollOrientation
impl Serialize for ScrollOrientation
impl StructuralPartialEq for ScrollOrientation
Auto Trait Implementations§
impl Forget for ScrollOrientation
impl Freeze for ScrollOrientation
impl RefUnwindSafe for ScrollOrientation
impl Send for ScrollOrientation
impl Sync for ScrollOrientation
impl Unpin for ScrollOrientation
impl UnsafeUnpin for ScrollOrientation
impl UnwindSafe for ScrollOrientation
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