Struct _IO_cookie_io_functions_t
#[repr(C)]pub struct _IO_cookie_io_functions_t {
pub read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> i64>,
pub write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: usize) -> i64>,
pub seek: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64, _: i32) -> i32>,
pub close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>,
}Fields§
§read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> i64>§write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: usize) -> i64>§seek: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64, _: i32) -> i32>§close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>Trait Implementations§
§fn clone(&self) -> _IO_cookie_io_functions_t
fn clone(&self) -> _IO_cookie_io_functions_t
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 moreAuto Trait Implementations§
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