[−][src]Struct miniaudio_sys::ma_vfs_callbacks
Fields
onOpen: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, pFilePath: *const c_char, openMode: ma_uint32, pFile: *mut ma_vfs_file) -> ma_result>
onOpenW: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, pFilePath: *const wchar_t, openMode: ma_uint32, pFile: *mut ma_vfs_file) -> ma_result>
onClose: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, file: ma_vfs_file) -> ma_result>
onRead: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, file: ma_vfs_file, pDst: *mut c_void, sizeInBytes: usize, pBytesRead: *mut usize) -> ma_result>
onWrite: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, file: ma_vfs_file, pSrc: *const c_void, sizeInBytes: usize, pBytesWritten: *mut usize) -> ma_result>
onSeek: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, file: ma_vfs_file, offset: ma_int64, origin: ma_seek_origin) -> ma_result>
onTell: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, file: ma_vfs_file, pCursor: *mut ma_int64) -> ma_result>
onInfo: Option<unsafe extern "C" fn(pVFS: *mut ma_vfs, file: ma_vfs_file, pInfo: *mut ma_file_info) -> ma_result>
Trait Implementations
impl Clone for ma_vfs_callbacks
[src]
fn clone(&self) -> ma_vfs_callbacks
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ma_vfs_callbacks
[src]
impl Debug for ma_vfs_callbacks
[src]
Auto Trait Implementations
impl RefUnwindSafe for ma_vfs_callbacks
impl Send for ma_vfs_callbacks
impl Sync for ma_vfs_callbacks
impl Unpin for ma_vfs_callbacks
impl UnwindSafe for ma_vfs_callbacks
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,