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