#[repr(C)]pub struct SLDeviceVolumeItf_ {
pub GetVolumeScale: Option<unsafe extern "C" fn(self_: SLDeviceVolumeItf, deviceID: SLuint32, pMinValue: *mut SLint32, pMaxValue: *mut SLint32, pIsMillibelScale: *mut SLboolean) -> SLresult>,
pub SetVolume: Option<unsafe extern "C" fn(self_: SLDeviceVolumeItf, deviceID: SLuint32, volume: SLint32) -> SLresult>,
pub GetVolume: Option<unsafe extern "C" fn(self_: SLDeviceVolumeItf, deviceID: SLuint32, pVolume: *mut SLint32) -> SLresult>,
}Fields§
§GetVolumeScale: Option<unsafe extern "C" fn(self_: SLDeviceVolumeItf, deviceID: SLuint32, pMinValue: *mut SLint32, pMaxValue: *mut SLint32, pIsMillibelScale: *mut SLboolean) -> SLresult>§SetVolume: Option<unsafe extern "C" fn(self_: SLDeviceVolumeItf, deviceID: SLuint32, volume: SLint32) -> SLresult>§GetVolume: Option<unsafe extern "C" fn(self_: SLDeviceVolumeItf, deviceID: SLuint32, pVolume: *mut SLint32) -> SLresult>Trait Implementations§
Source§impl Clone for SLDeviceVolumeItf_
impl Clone for SLDeviceVolumeItf_
Source§fn clone(&self) -> SLDeviceVolumeItf_
fn clone(&self) -> SLDeviceVolumeItf_
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 SLDeviceVolumeItf_
Auto Trait Implementations§
impl Freeze for SLDeviceVolumeItf_
impl RefUnwindSafe for SLDeviceVolumeItf_
impl Send for SLDeviceVolumeItf_
impl Sync for SLDeviceVolumeItf_
impl Unpin for SLDeviceVolumeItf_
impl UnsafeUnpin for SLDeviceVolumeItf_
impl UnwindSafe for SLDeviceVolumeItf_
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