#[repr(C)]pub struct SLPlaybackRateItf_ {
pub SetRate: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, rate: SLpermille) -> SLresult>,
pub GetRate: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, pRate: *mut SLpermille) -> SLresult>,
pub SetPropertyConstraints: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, constraints: SLuint32) -> SLresult>,
pub GetProperties: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, pProperties: *mut SLuint32) -> SLresult>,
pub GetCapabilitiesOfRate: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, rate: SLpermille, pCapabilities: *mut SLuint32) -> SLresult>,
pub GetRateRange: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, index: SLuint8, pMinRate: *mut SLpermille, pMaxRate: *mut SLpermille, pStepSize: *mut SLpermille, pCapabilities: *mut SLuint32) -> SLresult>,
}Fields§
§SetRate: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, rate: SLpermille) -> SLresult>§GetRate: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, pRate: *mut SLpermille) -> SLresult>§SetPropertyConstraints: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, constraints: SLuint32) -> SLresult>§GetProperties: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, pProperties: *mut SLuint32) -> SLresult>§GetCapabilitiesOfRate: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, rate: SLpermille, pCapabilities: *mut SLuint32) -> SLresult>§GetRateRange: Option<unsafe extern "C" fn(self_: SLPlaybackRateItf, index: SLuint8, pMinRate: *mut SLpermille, pMaxRate: *mut SLpermille, pStepSize: *mut SLpermille, pCapabilities: *mut SLuint32) -> SLresult>Trait Implementations§
Source§impl Clone for SLPlaybackRateItf_
impl Clone for SLPlaybackRateItf_
Source§fn clone(&self) -> SLPlaybackRateItf_
fn clone(&self) -> SLPlaybackRateItf_
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 SLPlaybackRateItf_
Auto Trait Implementations§
impl Freeze for SLPlaybackRateItf_
impl RefUnwindSafe for SLPlaybackRateItf_
impl Send for SLPlaybackRateItf_
impl Sync for SLPlaybackRateItf_
impl Unpin for SLPlaybackRateItf_
impl UnsafeUnpin for SLPlaybackRateItf_
impl UnwindSafe for SLPlaybackRateItf_
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