#[repr(C)]pub struct SLVolumeItf_ {
pub SetVolumeLevel: Option<unsafe extern "C" fn(self_: SLVolumeItf, level: SLmillibel) -> SLresult>,
pub GetVolumeLevel: Option<unsafe extern "C" fn(self_: SLVolumeItf, pLevel: *mut SLmillibel) -> SLresult>,
pub GetMaxVolumeLevel: Option<unsafe extern "C" fn(self_: SLVolumeItf, pMaxLevel: *mut SLmillibel) -> SLresult>,
pub SetMute: Option<unsafe extern "C" fn(self_: SLVolumeItf, mute: SLboolean) -> SLresult>,
pub GetMute: Option<unsafe extern "C" fn(self_: SLVolumeItf, pMute: *mut SLboolean) -> SLresult>,
pub EnableStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, enable: SLboolean) -> SLresult>,
pub IsEnabledStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, pEnable: *mut SLboolean) -> SLresult>,
pub SetStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, stereoPosition: SLpermille) -> SLresult>,
pub GetStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, pStereoPosition: *mut SLpermille) -> SLresult>,
}Fields§
§SetVolumeLevel: Option<unsafe extern "C" fn(self_: SLVolumeItf, level: SLmillibel) -> SLresult>§GetVolumeLevel: Option<unsafe extern "C" fn(self_: SLVolumeItf, pLevel: *mut SLmillibel) -> SLresult>§GetMaxVolumeLevel: Option<unsafe extern "C" fn(self_: SLVolumeItf, pMaxLevel: *mut SLmillibel) -> SLresult>§SetMute: Option<unsafe extern "C" fn(self_: SLVolumeItf, mute: SLboolean) -> SLresult>§GetMute: Option<unsafe extern "C" fn(self_: SLVolumeItf, pMute: *mut SLboolean) -> SLresult>§EnableStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, enable: SLboolean) -> SLresult>§IsEnabledStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, pEnable: *mut SLboolean) -> SLresult>§SetStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, stereoPosition: SLpermille) -> SLresult>§GetStereoPosition: Option<unsafe extern "C" fn(self_: SLVolumeItf, pStereoPosition: *mut SLpermille) -> SLresult>Trait Implementations§
Source§impl Clone for SLVolumeItf_
impl Clone for SLVolumeItf_
Source§fn clone(&self) -> SLVolumeItf_
fn clone(&self) -> SLVolumeItf_
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SLVolumeItf_
Auto Trait Implementations§
impl Freeze for SLVolumeItf_
impl RefUnwindSafe for SLVolumeItf_
impl Send for SLVolumeItf_
impl Sync for SLVolumeItf_
impl Unpin for SLVolumeItf_
impl UnsafeUnpin for SLVolumeItf_
impl UnwindSafe for SLVolumeItf_
Blanket Implementations§
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