#[repr(C)]pub struct SLPrefetchStatusItf_ {
pub GetPrefetchStatus: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pStatus: *mut SLuint32) -> SLresult>,
pub GetFillLevel: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pLevel: *mut SLpermille) -> SLresult>,
pub RegisterCallback: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, callback: slPrefetchCallback, pContext: *mut c_void) -> SLresult>,
pub SetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, eventFlags: SLuint32) -> SLresult>,
pub GetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pEventFlags: *mut SLuint32) -> SLresult>,
pub SetFillUpdatePeriod: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, period: SLpermille) -> SLresult>,
pub GetFillUpdatePeriod: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pPeriod: *mut SLpermille) -> SLresult>,
}Expand description
Prefetch status interface methods
Fields§
§GetPrefetchStatus: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pStatus: *mut SLuint32) -> SLresult>§GetFillLevel: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pLevel: *mut SLpermille) -> SLresult>§RegisterCallback: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, callback: slPrefetchCallback, pContext: *mut c_void) -> SLresult>§SetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, eventFlags: SLuint32) -> SLresult>§GetCallbackEventsMask: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pEventFlags: *mut SLuint32) -> SLresult>§SetFillUpdatePeriod: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, period: SLpermille) -> SLresult>§GetFillUpdatePeriod: Option<unsafe extern "C" fn(self_: SLPrefetchStatusItf, pPeriod: *mut SLpermille) -> SLresult>Trait Implementations§
Source§impl Clone for SLPrefetchStatusItf_
impl Clone for SLPrefetchStatusItf_
Source§fn clone(&self) -> SLPrefetchStatusItf_
fn clone(&self) -> SLPrefetchStatusItf_
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 SLPrefetchStatusItf_
impl Debug for SLPrefetchStatusItf_
impl Copy for SLPrefetchStatusItf_
Auto Trait Implementations§
impl Freeze for SLPrefetchStatusItf_
impl RefUnwindSafe for SLPrefetchStatusItf_
impl Send for SLPrefetchStatusItf_
impl Sync for SLPrefetchStatusItf_
impl Unpin for SLPrefetchStatusItf_
impl UnwindSafe for SLPrefetchStatusItf_
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