Struct windows::UI::Input::Spatial::SpatialGestureRecognizer
pub struct SpatialGestureRecognizer(/* private fields */);
Implementations§
§impl SpatialGestureRecognizer
impl SpatialGestureRecognizer
pub fn RecognitionStarted<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<SpatialGestureRecognizer, SpatialRecognitionStartedEventArgs>>,
pub fn RemoveRecognitionStarted( &self, token: EventRegistrationToken ) -> Result<()>
pub fn RecognitionEnded<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveRecognitionEnded( &self, token: EventRegistrationToken ) -> Result<()>
pub fn Tapped<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveTapped(&self, token: EventRegistrationToken) -> Result<()>
pub fn HoldStarted<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveHoldStarted(&self, token: EventRegistrationToken) -> Result<()>
pub fn HoldCompleted<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveHoldCompleted(&self, token: EventRegistrationToken) -> Result<()>
pub fn HoldCanceled<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveHoldCanceled(&self, token: EventRegistrationToken) -> Result<()>
pub fn ManipulationStarted<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationStartedEventArgs>>,
pub fn RemoveManipulationStarted( &self, token: EventRegistrationToken ) -> Result<()>
pub fn ManipulationUpdated<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs>>,
pub fn RemoveManipulationUpdated( &self, token: EventRegistrationToken ) -> Result<()>
pub fn ManipulationCompleted<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs>>,
pub fn RemoveManipulationCompleted( &self, token: EventRegistrationToken ) -> Result<()>
pub fn ManipulationCanceled<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs>>,
pub fn RemoveManipulationCanceled( &self, token: EventRegistrationToken ) -> Result<()>
pub fn CaptureInteraction<P0>(&self, interaction: P0) -> Result<()>where
P0: IntoParam<SpatialInteraction>,
pub fn CancelPendingGestures(&self) -> Result<()>
pub fn TrySetGestureSettings( &self, settings: SpatialGestureSettings ) -> Result<bool>
pub fn GestureSettings(&self) -> Result<SpatialGestureSettings>
pub fn Create( settings: SpatialGestureSettings ) -> Result<SpatialGestureRecognizer>
Trait Implementations§
§impl Clone for SpatialGestureRecognizer
impl Clone for SpatialGestureRecognizer
§fn clone(&self) -> SpatialGestureRecognizer
fn clone(&self) -> SpatialGestureRecognizer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SpatialGestureRecognizer
impl Debug for SpatialGestureRecognizer
§impl From<&SpatialGestureRecognizer> for &IInspectable
impl From<&SpatialGestureRecognizer> for &IInspectable
§fn from(value: &SpatialGestureRecognizer) -> Self
fn from(value: &SpatialGestureRecognizer) -> Self
Converts to this type from the input type.
§impl From<&SpatialGestureRecognizer> for &IUnknown
impl From<&SpatialGestureRecognizer> for &IUnknown
§fn from(value: &SpatialGestureRecognizer) -> Self
fn from(value: &SpatialGestureRecognizer) -> Self
Converts to this type from the input type.
§impl From<SpatialGestureRecognizer> for IInspectable
impl From<SpatialGestureRecognizer> for IInspectable
§fn from(value: SpatialGestureRecognizer) -> Self
fn from(value: SpatialGestureRecognizer) -> Self
Converts to this type from the input type.
§impl From<SpatialGestureRecognizer> for IUnknown
impl From<SpatialGestureRecognizer> for IUnknown
§fn from(value: SpatialGestureRecognizer) -> Self
fn from(value: SpatialGestureRecognizer) -> Self
Converts to this type from the input type.
§impl Interface for SpatialGestureRecognizer
impl Interface for SpatialGestureRecognizer
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for SpatialGestureRecognizer
impl PartialEq for SpatialGestureRecognizer
§fn eq(&self, other: &SpatialGestureRecognizer) -> bool
fn eq(&self, other: &SpatialGestureRecognizer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SpatialGestureRecognizer
impl Send for SpatialGestureRecognizer
impl StructuralPartialEq for SpatialGestureRecognizer
impl Sync for SpatialGestureRecognizer
Auto Trait Implementations§
impl RefUnwindSafe for SpatialGestureRecognizer
impl Unpin for SpatialGestureRecognizer
impl UnwindSafe for SpatialGestureRecognizer
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