pub struct NullPlatformGestures;Expand description
A no-op PlatformGestures implementation: no native recognizers and
default tuning. Suitable for desktop platforms and tests.
Trait Implementations§
Source§impl PlatformGestures for NullPlatformGestures
impl PlatformGestures for NullPlatformGestures
Source§fn tuning(&self) -> GestureTuning
fn tuning(&self) -> GestureTuning
Feel constants for the portable recognizers on this platform.
Source§fn native_recognizers(&self) -> GestureKinds
fn native_recognizers(&self) -> GestureKinds
The gesture kinds this platform recognizes natively.
Auto Trait Implementations§
impl Freeze for NullPlatformGestures
impl RefUnwindSafe for NullPlatformGestures
impl Send for NullPlatformGestures
impl Sync for NullPlatformGestures
impl Unpin for NullPlatformGestures
impl UnsafeUnpin for NullPlatformGestures
impl UnwindSafe for NullPlatformGestures
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more