Struct windows::Win32::Media::Audio::DirectSound::IDirectSoundFXI3DL2Reverb
pub struct IDirectSoundFXI3DL2Reverb(/* private fields */);
Implementations§
§impl IDirectSoundFXI3DL2Reverb
impl IDirectSoundFXI3DL2Reverb
pub unsafe fn SetAllParameters( &self, pcdsfxi3dl2reverb: *const DSFXI3DL2Reverb, ) -> Result<()>
pub unsafe fn GetAllParameters( &self, pdsfxi3dl2reverb: *mut DSFXI3DL2Reverb, ) -> Result<()>
pub unsafe fn SetPreset(&self, dwpreset: u32) -> Result<()>
pub unsafe fn GetPreset(&self) -> Result<u32>
pub unsafe fn SetQuality(&self, lquality: i32) -> Result<()>
pub unsafe fn GetQuality(&self) -> Result<i32>
Trait Implementations§
§impl CanInto<IUnknown> for IDirectSoundFXI3DL2Reverb
impl CanInto<IUnknown> for IDirectSoundFXI3DL2Reverb
§impl Clone for IDirectSoundFXI3DL2Reverb
impl Clone for IDirectSoundFXI3DL2Reverb
§fn clone(&self) -> IDirectSoundFXI3DL2Reverb
fn clone(&self) -> IDirectSoundFXI3DL2Reverb
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 IDirectSoundFXI3DL2Reverb
impl Debug for IDirectSoundFXI3DL2Reverb
§impl Deref for IDirectSoundFXI3DL2Reverb
impl Deref for IDirectSoundFXI3DL2Reverb
§impl From<&IDirectSoundFXI3DL2Reverb> for &IUnknown
impl From<&IDirectSoundFXI3DL2Reverb> for &IUnknown
§fn from(value: &IDirectSoundFXI3DL2Reverb) -> Self
fn from(value: &IDirectSoundFXI3DL2Reverb) -> Self
Converts to this type from the input type.
§impl From<IDirectSoundFXI3DL2Reverb> for IUnknown
impl From<IDirectSoundFXI3DL2Reverb> for IUnknown
§fn from(value: IDirectSoundFXI3DL2Reverb) -> Self
fn from(value: IDirectSoundFXI3DL2Reverb) -> Self
Converts to this type from the input type.
§impl Interface for IDirectSoundFXI3DL2Reverb
impl Interface for IDirectSoundFXI3DL2Reverb
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDirectSoundFXI3DL2Reverb
impl PartialEq for IDirectSoundFXI3DL2Reverb
§fn eq(&self, other: &IDirectSoundFXI3DL2Reverb) -> bool
fn eq(&self, other: &IDirectSoundFXI3DL2Reverb) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDirectSoundFXI3DL2Reverb
impl StructuralPartialEq for IDirectSoundFXI3DL2Reverb
Auto Trait Implementations§
impl Freeze for IDirectSoundFXI3DL2Reverb
impl RefUnwindSafe for IDirectSoundFXI3DL2Reverb
impl !Send for IDirectSoundFXI3DL2Reverb
impl !Sync for IDirectSoundFXI3DL2Reverb
impl Unpin for IDirectSoundFXI3DL2Reverb
impl UnwindSafe for IDirectSoundFXI3DL2Reverb
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)