pub enum PointerEvents {
Auto,
None,
BoxNone,
BoxOnly,
}Expand description
Which touches a view and its children receive (pointerEvents).
Variants§
Auto
The view and its children receive touches (default).
None
Neither the view nor its children receive touches.
BoxNone
Only the children receive touches; the view itself is transparent to them.
BoxOnly
Only the view receives touches, never its children.
Trait Implementations§
Source§impl Clone for PointerEvents
impl Clone for PointerEvents
impl Copy for PointerEvents
Source§impl Debug for PointerEvents
impl Debug for PointerEvents
Source§impl Default for PointerEvents
impl Default for PointerEvents
impl Eq for PointerEvents
Source§impl HostValue for PointerEvents
impl HostValue for PointerEvents
Source§impl IntoReactive<PointerEvents> for PointerEvents
impl IntoReactive<PointerEvents> for PointerEvents
Source§fn into_reactive(self) -> Reactive<PointerEvents>
fn into_reactive(self) -> Reactive<PointerEvents>
As a
Reactive.Source§impl JsValue for PointerEvents
impl JsValue for PointerEvents
Source§impl PartialEq for PointerEvents
impl PartialEq for PointerEvents
Source§impl PropEnum for PointerEvents
impl PropEnum for PointerEvents
impl StructuralPartialEq for PointerEvents
Auto Trait Implementations§
impl Forget for PointerEvents
impl Freeze for PointerEvents
impl Move for PointerEvents
impl RefUnwindSafe for PointerEvents
impl Send for PointerEvents
impl Sync for PointerEvents
impl Unpin for PointerEvents
impl UnsafeUnpin for PointerEvents
impl UnwindSafe for PointerEvents
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
Source§impl<T> CallbackArgs for Twhere
T: Ret,
impl<T> CallbackArgs for Twhere
T: Ret,
Source§fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
Its TypeScript parameters, named
names (name: string, amount: number), or without names value for one and a, b, … for
several.Source§fn into_js_args<'a>(
self,
host: &'a dyn JsHost,
) -> Result<Vec<JsOwned<'a>>, PropError>
fn into_js_args<'a>( self, host: &'a dyn JsHost, ) -> Result<Vec<JsOwned<'a>>, PropError>
The arguments as JS values.