Struct windows::Gaming::Input::Custom::IGipGameControllerInputSink
pub struct IGipGameControllerInputSink(/* private fields */);
Implementations§
§impl IGipGameControllerInputSink
impl IGipGameControllerInputSink
pub fn OnKeyReceived( &self, timestamp: u64, keycode: u8, ispressed: bool ) -> Result<()>
pub fn OnMessageReceived( &self, timestamp: u64, messageclass: GipMessageClass, messageid: u8, sequenceid: u8, messagebuffer: &[u8] ) -> Result<()>
pub fn OnInputResumed(&self, timestamp: u64) -> Result<()>
pub fn OnInputSuspended(&self, timestamp: u64) -> Result<()>
Trait Implementations§
§impl Clone for IGipGameControllerInputSink
impl Clone for IGipGameControllerInputSink
§fn clone(&self) -> IGipGameControllerInputSink
fn clone(&self) -> IGipGameControllerInputSink
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 IGipGameControllerInputSink
impl Debug for IGipGameControllerInputSink
§impl From<&IGipGameControllerInputSink> for &IInspectable
impl From<&IGipGameControllerInputSink> for &IInspectable
§fn from(value: &IGipGameControllerInputSink) -> Self
fn from(value: &IGipGameControllerInputSink) -> Self
Converts to this type from the input type.
§impl From<&IGipGameControllerInputSink> for &IUnknown
impl From<&IGipGameControllerInputSink> for &IUnknown
§fn from(value: &IGipGameControllerInputSink) -> Self
fn from(value: &IGipGameControllerInputSink) -> Self
Converts to this type from the input type.
§impl From<IGipGameControllerInputSink> for IInspectable
impl From<IGipGameControllerInputSink> for IInspectable
§fn from(value: IGipGameControllerInputSink) -> Self
fn from(value: IGipGameControllerInputSink) -> Self
Converts to this type from the input type.
§impl From<IGipGameControllerInputSink> for IUnknown
impl From<IGipGameControllerInputSink> for IUnknown
§fn from(value: IGipGameControllerInputSink) -> Self
fn from(value: IGipGameControllerInputSink) -> Self
Converts to this type from the input type.
§impl Interface for IGipGameControllerInputSink
impl Interface for IGipGameControllerInputSink
§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 IGipGameControllerInputSink
impl PartialEq for IGipGameControllerInputSink
§fn eq(&self, other: &IGipGameControllerInputSink) -> bool
fn eq(&self, other: &IGipGameControllerInputSink) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IGipGameControllerInputSink
impl StructuralPartialEq for IGipGameControllerInputSink
Auto Trait Implementations§
impl RefUnwindSafe for IGipGameControllerInputSink
impl !Send for IGipGameControllerInputSink
impl !Sync for IGipGameControllerInputSink
impl Unpin for IGipGameControllerInputSink
impl UnwindSafe for IGipGameControllerInputSink
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