windows::Win32::Media::MediaFoundation

Trait IMFSimpleAudioVolume_Impl

pub trait IMFSimpleAudioVolume_Impl: IUnknownImpl {
    // Required methods
    fn SetMasterVolume(&self, flevel: f32) -> Result<()>;
    fn GetMasterVolume(&self) -> Result<f32>;
    fn SetMute(&self, bmute: BOOL) -> Result<()>;
    fn GetMute(&self) -> Result<BOOL>;
}

Required Methods§

fn SetMasterVolume(&self, flevel: f32) -> Result<()>

fn GetMasterVolume(&self) -> Result<f32>

fn SetMute(&self, bmute: BOOL) -> Result<()>

fn GetMute(&self) -> Result<BOOL>

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.

Implementors§