Struct windows::UI::Input::EdgeGesture
pub struct EdgeGesture(/* private fields */);
Implementations§
§impl EdgeGesture
impl EdgeGesture
pub fn Starting<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveStarting(&self, token: EventRegistrationToken) -> Result<()>
pub fn Completed<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveCompleted(&self, token: EventRegistrationToken) -> Result<()>
pub fn Canceled<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveCanceled(&self, token: EventRegistrationToken) -> Result<()>
pub fn GetForCurrentView() -> Result<EdgeGesture>
Trait Implementations§
§impl Clone for EdgeGesture
impl Clone for EdgeGesture
§fn clone(&self) -> EdgeGesture
fn clone(&self) -> EdgeGesture
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 EdgeGesture
impl Debug for EdgeGesture
§impl From<&EdgeGesture> for &IInspectable
impl From<&EdgeGesture> for &IInspectable
§fn from(value: &EdgeGesture) -> Self
fn from(value: &EdgeGesture) -> Self
Converts to this type from the input type.
§impl From<&EdgeGesture> for &IUnknown
impl From<&EdgeGesture> for &IUnknown
§fn from(value: &EdgeGesture) -> Self
fn from(value: &EdgeGesture) -> Self
Converts to this type from the input type.
§impl From<EdgeGesture> for IInspectable
impl From<EdgeGesture> for IInspectable
§fn from(value: EdgeGesture) -> Self
fn from(value: EdgeGesture) -> Self
Converts to this type from the input type.
§impl From<EdgeGesture> for IUnknown
impl From<EdgeGesture> for IUnknown
§fn from(value: EdgeGesture) -> Self
fn from(value: EdgeGesture) -> Self
Converts to this type from the input type.
§impl Interface for EdgeGesture
impl Interface for EdgeGesture
§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 EdgeGesture
impl PartialEq for EdgeGesture
§fn eq(&self, other: &EdgeGesture) -> bool
fn eq(&self, other: &EdgeGesture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EdgeGesture
impl StructuralPartialEq for EdgeGesture
Auto Trait Implementations§
impl RefUnwindSafe for EdgeGesture
impl !Send for EdgeGesture
impl !Sync for EdgeGesture
impl Unpin for EdgeGesture
impl UnwindSafe for EdgeGesture
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