pub struct NullPlatformGestures;Expand description
重导出手势识别相关类型
一个空操作的 PlatformGestures 实现:无原生识别器,使用默认调优。
适用于桌面平台和测试。
Trait Implementations§
Source§impl PlatformGestures for NullPlatformGestures
impl PlatformGestures for NullPlatformGestures
Source§fn tuning(&self) -> GestureTuning
fn tuning(&self) -> GestureTuning
此平台上可移植识别器的体验常量。
Source§fn native_recognizers(&self) -> GestureKinds
fn native_recognizers(&self) -> GestureKinds
此平台原生识别的手势类型。
Auto Trait Implementations§
impl Forget for NullPlatformGestures
impl Freeze for NullPlatformGestures
impl Move 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<T> ErasedDestructor for Twhere
T: 'static,
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