pub struct IDirectInputEffectDriver(/* private fields */);
Implementations§
Source§impl IDirectInputEffectDriver
impl IDirectInputEffectDriver
pub unsafe fn DeviceID( &self, param0: u32, param1: u32, param2: u32, param3: u32, param4: *mut c_void, ) -> Result<()>
pub unsafe fn GetVersions(&self, param0: *mut DIDRIVERVERSIONS) -> Result<()>
pub unsafe fn Escape( &self, param0: u32, param1: u32, param2: *mut DIEFFESCAPE, ) -> Result<()>
pub unsafe fn SetGain(&self, param0: u32, param1: u32) -> Result<()>
pub unsafe fn SendForceFeedbackCommand( &self, param0: u32, param1: u32, ) -> Result<()>
pub unsafe fn GetForceFeedbackState( &self, param0: u32, param1: *mut DIDEVICESTATE, ) -> Result<()>
pub unsafe fn DownloadEffect( &self, param0: u32, param1: u32, param2: *mut u32, param3: *mut DIEFFECT, param4: u32, ) -> Result<()>
pub unsafe fn DestroyEffect(&self, param0: u32, param1: u32) -> Result<()>
pub unsafe fn StartEffect( &self, param0: u32, param1: u32, param2: u32, param3: u32, ) -> Result<()>
pub unsafe fn StopEffect(&self, param0: u32, param1: u32) -> Result<()>
pub unsafe fn GetEffectStatus( &self, param0: u32, param1: u32, param2: *mut u32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IDirectInputEffectDriver
impl Clone for IDirectInputEffectDriver
Source§fn clone(&self) -> IDirectInputEffectDriver
fn clone(&self) -> IDirectInputEffectDriver
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 IDirectInputEffectDriver
impl Debug for IDirectInputEffectDriver
Source§impl From<&IDirectInputEffectDriver> for IUnknown
impl From<&IDirectInputEffectDriver> for IUnknown
Source§fn from(value: &IDirectInputEffectDriver) -> Self
fn from(value: &IDirectInputEffectDriver) -> Self
Converts to this type from the input type.
Source§impl From<IDirectInputEffectDriver> for IUnknown
impl From<IDirectInputEffectDriver> for IUnknown
Source§fn from(value: IDirectInputEffectDriver) -> Self
fn from(value: IDirectInputEffectDriver) -> Self
Converts to this type from the input type.
Source§impl Interface for IDirectInputEffectDriver
impl Interface for IDirectInputEffectDriver
const IID: Guid
type Vtable = IDirectInputEffectDriver_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IDirectInputEffectDriver
impl PartialEq for IDirectInputEffectDriver
impl Eq for IDirectInputEffectDriver
impl StructuralPartialEq for IDirectInputEffectDriver
Auto Trait Implementations§
impl Freeze for IDirectInputEffectDriver
impl RefUnwindSafe for IDirectInputEffectDriver
impl !Send for IDirectInputEffectDriver
impl !Sync for IDirectInputEffectDriver
impl Unpin for IDirectInputEffectDriver
impl UnwindSafe for IDirectInputEffectDriver
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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