pub struct IAudioStreamVolume(/* private fields */);Implementations§
Source§impl IAudioStreamVolume
impl IAudioStreamVolume
pub unsafe fn GetChannelCount(&self, pdwcount: *mut u32) -> HRESULT
pub unsafe fn SetChannelVolume(&self, dwindex: u32, flevel: f32) -> HRESULT
pub unsafe fn GetChannelVolume( &self, dwindex: u32, pflevel: *mut f32, ) -> HRESULT
pub unsafe fn SetAllVolumes( &self, dwcount: u32, pfvolumes: *const f32, ) -> HRESULT
pub unsafe fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> HRESULT
Trait Implementations§
Source§impl Clone for IAudioStreamVolume
impl Clone for IAudioStreamVolume
Source§fn clone(&self) -> IAudioStreamVolume
fn clone(&self) -> IAudioStreamVolume
Returns a duplicate 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 IAudioStreamVolume
impl Debug for IAudioStreamVolume
Source§impl From<&IAudioStreamVolume> for IUnknown
impl From<&IAudioStreamVolume> for IUnknown
Source§fn from(value: &IAudioStreamVolume) -> Self
fn from(value: &IAudioStreamVolume) -> Self
Converts to this type from the input type.
Source§impl From<IAudioStreamVolume> for IUnknown
impl From<IAudioStreamVolume> for IUnknown
Source§fn from(value: IAudioStreamVolume) -> Self
fn from(value: IAudioStreamVolume) -> Self
Converts to this type from the input type.
Source§impl Interface for IAudioStreamVolume
impl Interface for IAudioStreamVolume
const IID: Guid
type Vtable = IAudioStreamVolume_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IAudioStreamVolume
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioStreamVolume
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IAudioStreamVolume
impl<'a> IntoParam<'a, IUnknown> for IAudioStreamVolume
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IAudioStreamVolume
impl PartialEq for IAudioStreamVolume
impl Eq for IAudioStreamVolume
impl StructuralPartialEq for IAudioStreamVolume
Auto Trait Implementations§
impl Freeze for IAudioStreamVolume
impl RefUnwindSafe for IAudioStreamVolume
impl !Send for IAudioStreamVolume
impl !Sync for IAudioStreamVolume
impl Unpin for IAudioStreamVolume
impl UnwindSafe for IAudioStreamVolume
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
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.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
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