#[repr(C)]pub struct _GIOFuncs {
pub io_read: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut i8, u64, *mut u64, *mut *mut _GError) -> u32>,
pub io_write: Option<unsafe extern "C" fn(*mut _GIOChannel, *const i8, u64, *mut u64, *mut *mut _GError) -> u32>,
pub io_seek: Option<unsafe extern "C" fn(*mut _GIOChannel, i64, u32, *mut *mut _GError) -> u32>,
pub io_close: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut *mut _GError) -> u32>,
pub io_create_watch: Option<unsafe extern "C" fn(*mut _GIOChannel, u32) -> *mut _GSource>,
pub io_free: Option<unsafe extern "C" fn(*mut _GIOChannel)>,
pub io_set_flags: Option<unsafe extern "C" fn(*mut _GIOChannel, u32, *mut *mut _GError) -> u32>,
pub io_get_flags: Option<unsafe extern "C" fn(*mut _GIOChannel) -> u32>,
}Fields§
§io_read: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut i8, u64, *mut u64, *mut *mut _GError) -> u32>§io_write: Option<unsafe extern "C" fn(*mut _GIOChannel, *const i8, u64, *mut u64, *mut *mut _GError) -> u32>§io_seek: Option<unsafe extern "C" fn(*mut _GIOChannel, i64, u32, *mut *mut _GError) -> u32>§io_close: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut *mut _GError) -> u32>§io_create_watch: Option<unsafe extern "C" fn(*mut _GIOChannel, u32) -> *mut _GSource>§io_free: Option<unsafe extern "C" fn(*mut _GIOChannel)>§io_set_flags: Option<unsafe extern "C" fn(*mut _GIOChannel, u32, *mut *mut _GError) -> u32>§io_get_flags: Option<unsafe extern "C" fn(*mut _GIOChannel) -> u32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for _GIOFuncs
impl RefUnwindSafe for _GIOFuncs
impl Send for _GIOFuncs
impl Sync for _GIOFuncs
impl Unpin for _GIOFuncs
impl UnwindSafe for _GIOFuncs
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