#[repr(C)]pub struct ov_callbacks {
pub read_func: extern "C" fn(*mut c_void, size_t, size_t, *mut c_void) -> size_t,
pub seek_func: extern "C" fn(*mut c_void, ogg_int64_t, c_int) -> c_int,
pub close_func: extern "C" fn(*mut c_void) -> c_int,
pub tell_func: extern "C" fn(*mut c_void) -> c_long,
}Fields§
§read_func: extern "C" fn(*mut c_void, size_t, size_t, *mut c_void) -> size_t§seek_func: extern "C" fn(*mut c_void, ogg_int64_t, c_int) -> c_int§close_func: extern "C" fn(*mut c_void) -> c_int§tell_func: extern "C" fn(*mut c_void) -> c_longAuto Trait Implementations§
impl Freeze for ov_callbacks
impl RefUnwindSafe for ov_callbacks
impl Send for ov_callbacks
impl Sync for ov_callbacks
impl Unpin for ov_callbacks
impl UnwindSafe for ov_callbacks
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