Trait IAudioStreamVolume_Impl
pub trait IAudioStreamVolume_Impl: IUnknownImpl {
// Required methods
fn GetChannelCount(&self) -> Result<u32>;
fn SetChannelVolume(&self, dwindex: u32, flevel: f32) -> Result<()>;
fn GetChannelVolume(&self, dwindex: u32) -> Result<f32>;
fn SetAllVolumes(&self, dwcount: u32, pfvolumes: *const f32) -> Result<()>;
fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> Result<()>;
}
Required Methods§
fn GetChannelCount(&self) -> Result<u32>
fn SetChannelVolume(&self, dwindex: u32, flevel: f32) -> Result<()>
fn GetChannelVolume(&self, dwindex: u32) -> Result<f32>
fn SetAllVolumes(&self, dwcount: u32, pfvolumes: *const f32) -> Result<()>
fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.