Struct swipl::fli::io_functions
source · #[repr(C)]pub struct io_functions {
pub read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>,
pub write: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>,
pub seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>,
pub close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>,
pub control: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: *mut c_void) -> i32>,
pub seek64: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>,
}
Fields§
§read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>
§write: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>
§seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>
§close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>
§control: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: *mut c_void) -> i32>
§seek64: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>
Trait Implementations§
source§impl Clone for io_functions
impl Clone for io_functions
source§fn clone(&self) -> io_functions
fn clone(&self) -> io_functions
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 io_functions
impl Debug for io_functions
impl Copy for io_functions
Auto Trait Implementations§
impl RefUnwindSafe for io_functions
impl Send for io_functions
impl Sync for io_functions
impl Unpin for io_functions
impl UnwindSafe for io_functions
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