pub struct IDirectInput2A(/* private fields */);Implementations§
Source§impl IDirectInput2A
impl IDirectInput2A
pub unsafe fn CreateDevice<'a>( &self, param0: *const Guid, param1: *mut Option<IDirectInputDeviceA>, param2: impl IntoParam<'a, IUnknown>, ) -> Result<(), Error>
pub unsafe fn EnumDevices( &self, param0: u32, param1: Option<unsafe extern "system" fn(_: *mut DIDEVICEINSTANCEA, _: *mut c_void) -> BOOL>, param2: *mut c_void, param3: u32, ) -> Result<(), Error>
pub unsafe fn GetDeviceStatus(&self, param0: *const Guid) -> Result<(), Error>
pub unsafe fn RunControlPanel<'a>( &self, param0: impl IntoParam<'a, HWND>, param1: u32, ) -> Result<(), Error>
pub unsafe fn Initialize<'a>( &self, param0: impl IntoParam<'a, HINSTANCE>, param1: u32, ) -> Result<(), Error>
pub unsafe fn FindDevice<'a>( &self, param0: *const Guid, param1: impl IntoParam<'a, PSTR>, param2: *mut Guid, ) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for IDirectInput2A
impl Clone for IDirectInput2A
Source§fn clone(&self) -> IDirectInput2A
fn clone(&self) -> IDirectInput2A
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 moreSource§impl Debug for IDirectInput2A
impl Debug for IDirectInput2A
Source§impl From<&IDirectInput2A> for IDirectInputA
impl From<&IDirectInput2A> for IDirectInputA
Source§fn from(value: &IDirectInput2A) -> IDirectInputA
fn from(value: &IDirectInput2A) -> IDirectInputA
Converts to this type from the input type.
Source§impl From<&IDirectInput7A> for IDirectInput2A
impl From<&IDirectInput7A> for IDirectInput2A
Source§fn from(value: &IDirectInput7A) -> IDirectInput2A
fn from(value: &IDirectInput7A) -> IDirectInput2A
Converts to this type from the input type.
Source§impl From<IDirectInput2A> for IDirectInputA
impl From<IDirectInput2A> for IDirectInputA
Source§fn from(value: IDirectInput2A) -> IDirectInputA
fn from(value: IDirectInput2A) -> IDirectInputA
Converts to this type from the input type.
Source§impl From<IDirectInput7A> for IDirectInput2A
impl From<IDirectInput7A> for IDirectInput2A
Source§fn from(value: IDirectInput7A) -> IDirectInput2A
fn from(value: IDirectInput7A) -> IDirectInput2A
Converts to this type from the input type.
Source§impl Interface for IDirectInput2A
impl Interface for IDirectInput2A
Source§impl PartialEq for IDirectInput2A
impl PartialEq for IDirectInput2A
impl Eq for IDirectInput2A
impl StructuralPartialEq for IDirectInput2A
Auto Trait Implementations§
impl Freeze for IDirectInput2A
impl RefUnwindSafe for IDirectInput2A
impl !Send for IDirectInput2A
impl !Sync for IDirectInput2A
impl Unpin for IDirectInput2A
impl UnwindSafe for IDirectInput2A
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