Struct wavpack_sys::WavpackStreamReader64
source · #[repr(C)]pub struct WavpackStreamReader64 {
pub read_bytes: Option<unsafe extern "C" fn(id: *mut c_void, data: *mut c_void, bcount: i32) -> i32>,
pub write_bytes: Option<unsafe extern "C" fn(id: *mut c_void, data: *mut c_void, bcount: i32) -> i32>,
pub get_pos: Option<unsafe extern "C" fn(id: *mut c_void) -> i64>,
pub set_pos_abs: Option<unsafe extern "C" fn(id: *mut c_void, pos: i64) -> c_int>,
pub set_pos_rel: Option<unsafe extern "C" fn(id: *mut c_void, delta: i64, mode: c_int) -> c_int>,
pub push_back_byte: Option<unsafe extern "C" fn(id: *mut c_void, c: c_int) -> c_int>,
pub get_length: Option<unsafe extern "C" fn(id: *mut c_void) -> i64>,
pub can_seek: Option<unsafe extern "C" fn(id: *mut c_void) -> c_int>,
pub truncate_here: Option<unsafe extern "C" fn(id: *mut c_void) -> c_int>,
pub close: Option<unsafe extern "C" fn(id: *mut c_void) -> c_int>,
}Fields§
§read_bytes: Option<unsafe extern "C" fn(id: *mut c_void, data: *mut c_void, bcount: i32) -> i32>§write_bytes: Option<unsafe extern "C" fn(id: *mut c_void, data: *mut c_void, bcount: i32) -> i32>§get_pos: Option<unsafe extern "C" fn(id: *mut c_void) -> i64>§set_pos_abs: Option<unsafe extern "C" fn(id: *mut c_void, pos: i64) -> c_int>§set_pos_rel: Option<unsafe extern "C" fn(id: *mut c_void, delta: i64, mode: c_int) -> c_int>§push_back_byte: Option<unsafe extern "C" fn(id: *mut c_void, c: c_int) -> c_int>§get_length: Option<unsafe extern "C" fn(id: *mut c_void) -> i64>§can_seek: Option<unsafe extern "C" fn(id: *mut c_void) -> c_int>§truncate_here: Option<unsafe extern "C" fn(id: *mut c_void) -> c_int>§close: Option<unsafe extern "C" fn(id: *mut c_void) -> c_int>Trait Implementations§
source§impl Clone for WavpackStreamReader64
impl Clone for WavpackStreamReader64
source§fn clone(&self) -> WavpackStreamReader64
fn clone(&self) -> WavpackStreamReader64
Returns a copy 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 WavpackStreamReader64
impl Debug for WavpackStreamReader64
impl Copy for WavpackStreamReader64
Auto Trait Implementations§
impl RefUnwindSafe for WavpackStreamReader64
impl Send for WavpackStreamReader64
impl Sync for WavpackStreamReader64
impl Unpin for WavpackStreamReader64
impl UnwindSafe for WavpackStreamReader64
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