pub struct GIOFuncs {
pub io_read: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: *const i8, _: usize, _: *mut usize, _: *mut *mut GError) -> i32>,
pub io_write: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: *const i8, _: usize, _: *mut usize, _: *mut *mut GError) -> i32>,
pub io_seek: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: i64, _: i32, _: *mut *mut GError) -> i32>,
pub io_close: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: *mut *mut GError) -> i32>,
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) -> i32>,
pub io_get_flags: Option<unsafe extern "C" fn(_: *mut GIOChannel) -> u32>,
}
Fields§
§io_read: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: *const i8, _: usize, _: *mut usize, _: *mut *mut GError) -> i32>
§io_write: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: *const i8, _: usize, _: *mut usize, _: *mut *mut GError) -> i32>
§io_seek: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: i64, _: i32, _: *mut *mut GError) -> i32>
§io_close: Option<unsafe extern "C" fn(_: *mut GIOChannel, _: *mut *mut GError) -> i32>
§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) -> i32>
§io_get_flags: Option<unsafe extern "C" fn(_: *mut GIOChannel) -> u32>
Trait Implementations§
Auto Trait Implementations§
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.