pub struct ISimpleAudioVolume(/* private fields */);Implementations§
Source§impl ISimpleAudioVolume
impl ISimpleAudioVolume
pub unsafe fn SetMasterVolume( &self, flevel: f32, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn GetMasterVolume(&self, pflevel: *mut f32) -> HRESULT
pub unsafe fn SetMute<'a>( &self, bmute: impl IntoParam<'a, BOOL>, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn GetMute(&self, pbmute: *mut BOOL) -> HRESULT
Trait Implementations§
Source§impl Clone for ISimpleAudioVolume
impl Clone for ISimpleAudioVolume
Source§fn clone(&self) -> ISimpleAudioVolume
fn clone(&self) -> ISimpleAudioVolume
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 ISimpleAudioVolume
impl Debug for ISimpleAudioVolume
Source§impl From<&ISimpleAudioVolume> for IUnknown
impl From<&ISimpleAudioVolume> for IUnknown
Source§fn from(value: &ISimpleAudioVolume) -> Self
fn from(value: &ISimpleAudioVolume) -> Self
Converts to this type from the input type.
Source§impl From<ISimpleAudioVolume> for IUnknown
impl From<ISimpleAudioVolume> for IUnknown
Source§fn from(value: ISimpleAudioVolume) -> Self
fn from(value: ISimpleAudioVolume) -> Self
Converts to this type from the input type.
Source§impl Interface for ISimpleAudioVolume
impl Interface for ISimpleAudioVolume
const IID: Guid
type Vtable = ISimpleAudioVolume_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a ISimpleAudioVolume
impl<'a> IntoParam<'a, IUnknown> for &'a ISimpleAudioVolume
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for ISimpleAudioVolume
impl<'a> IntoParam<'a, IUnknown> for ISimpleAudioVolume
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for ISimpleAudioVolume
impl PartialEq for ISimpleAudioVolume
impl Eq for ISimpleAudioVolume
impl StructuralPartialEq for ISimpleAudioVolume
Auto Trait Implementations§
impl Freeze for ISimpleAudioVolume
impl RefUnwindSafe for ISimpleAudioVolume
impl !Send for ISimpleAudioVolume
impl !Sync for ISimpleAudioVolume
impl Unpin for ISimpleAudioVolume
impl UnwindSafe for ISimpleAudioVolume
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