pub enum ScrollRectType {
RepaintsOnScroll,
TouchEventHandler,
WheelEventHandler,
Unrecognized(String),
}Expand description
The values type accepts on ScrollRect.
Variants§
RepaintsOnScroll
RepaintsOnScroll
TouchEventHandler
TouchEventHandler
WheelEventHandler
WheelEventHandler
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 ScrollRectType
impl Clone for ScrollRectType
Source§impl Debug for ScrollRectType
impl Debug for ScrollRectType
Source§impl<'de> Deserialize<'de> for ScrollRectType
impl<'de> Deserialize<'de> for ScrollRectType
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 ScrollRectType
Source§impl Hash for ScrollRectType
impl Hash for ScrollRectType
Source§impl PartialEq for ScrollRectType
impl PartialEq for ScrollRectType
Source§impl Serialize for ScrollRectType
impl Serialize for ScrollRectType
impl StructuralPartialEq for ScrollRectType
Auto Trait Implementations§
impl Forget for ScrollRectType
impl Freeze for ScrollRectType
impl RefUnwindSafe for ScrollRectType
impl Send for ScrollRectType
impl Sync for ScrollRectType
impl Unpin for ScrollRectType
impl UnsafeUnpin for ScrollRectType
impl UnwindSafe for ScrollRectType
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