Struct ytnef_sys::_TNEFIOStruct
source · #[repr(C)]pub struct _TNEFIOStruct {
pub InitProc: Option<unsafe extern "C" fn(IO: *mut _TNEFIOStruct) -> c_int>,
pub ReadProc: Option<unsafe extern "C" fn(IO: *mut _TNEFIOStruct, size: c_int, count: c_int, dest: *mut c_void) -> c_int>,
pub CloseProc: Option<unsafe extern "C" fn(IO: *mut _TNEFIOStruct) -> c_int>,
pub data: *mut c_void,
}
Fields§
§InitProc: Option<unsafe extern "C" fn(IO: *mut _TNEFIOStruct) -> c_int>
§ReadProc: Option<unsafe extern "C" fn(IO: *mut _TNEFIOStruct, size: c_int, count: c_int, dest: *mut c_void) -> c_int>
§CloseProc: Option<unsafe extern "C" fn(IO: *mut _TNEFIOStruct) -> c_int>
§data: *mut c_void
Trait Implementations§
source§impl Clone for _TNEFIOStruct
impl Clone for _TNEFIOStruct
source§fn clone(&self) -> _TNEFIOStruct
fn clone(&self) -> _TNEFIOStruct
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 _TNEFIOStruct
impl Debug for _TNEFIOStruct
impl Copy for _TNEFIOStruct
Auto Trait Implementations§
impl RefUnwindSafe for _TNEFIOStruct
impl !Send for _TNEFIOStruct
impl !Sync for _TNEFIOStruct
impl Unpin for _TNEFIOStruct
impl UnwindSafe for _TNEFIOStruct
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