pub struct IChannelAudioVolume(/* private fields */);Implementations§
Source§impl IChannelAudioVolume
impl IChannelAudioVolume
pub unsafe fn GetChannelCount(&self, pdwcount: *mut u32) -> HRESULT
pub unsafe fn SetChannelVolume( &self, dwindex: u32, flevel: f32, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn GetChannelVolume( &self, dwindex: u32, pflevel: *mut f32, ) -> HRESULT
pub unsafe fn SetAllVolumes( &self, dwcount: u32, pfvolumes: *const f32, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> HRESULT
Trait Implementations§
Source§impl Clone for IChannelAudioVolume
impl Clone for IChannelAudioVolume
Source§fn clone(&self) -> IChannelAudioVolume
fn clone(&self) -> IChannelAudioVolume
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 IChannelAudioVolume
impl Debug for IChannelAudioVolume
Source§impl From<&IChannelAudioVolume> for IUnknown
impl From<&IChannelAudioVolume> for IUnknown
Source§fn from(value: &IChannelAudioVolume) -> Self
fn from(value: &IChannelAudioVolume) -> Self
Converts to this type from the input type.
Source§impl From<IChannelAudioVolume> for IUnknown
impl From<IChannelAudioVolume> for IUnknown
Source§fn from(value: IChannelAudioVolume) -> Self
fn from(value: IChannelAudioVolume) -> Self
Converts to this type from the input type.
Source§impl Interface for IChannelAudioVolume
impl Interface for IChannelAudioVolume
const IID: Guid
type Vtable = IChannelAudioVolume_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IChannelAudioVolume
impl<'a> IntoParam<'a, IUnknown> for &'a IChannelAudioVolume
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IChannelAudioVolume
impl<'a> IntoParam<'a, IUnknown> for IChannelAudioVolume
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IChannelAudioVolume
impl PartialEq for IChannelAudioVolume
impl Eq for IChannelAudioVolume
impl StructuralPartialEq for IChannelAudioVolume
Auto Trait Implementations§
impl Freeze for IChannelAudioVolume
impl RefUnwindSafe for IChannelAudioVolume
impl !Send for IChannelAudioVolume
impl !Sync for IChannelAudioVolume
impl Unpin for IChannelAudioVolume
impl UnwindSafe for IChannelAudioVolume
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