Struct gio_sys::GDatagramBasedInterface
source · #[repr(C)]pub struct GDatagramBasedInterface {
pub g_iface: GTypeInterface,
pub receive_messages: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: *mut GInputMessage, _: c_uint, _: c_int, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> c_int>,
pub send_messages: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: *mut GOutputMessage, _: c_uint, _: c_int, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> c_int>,
pub create_source: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: GIOCondition, _: *mut GCancellable) -> *mut GSource>,
pub condition_check: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: GIOCondition) -> GIOCondition>,
pub condition_wait: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: GIOCondition, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
}
Fields§
§g_iface: GTypeInterface
§receive_messages: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: *mut GInputMessage, _: c_uint, _: c_int, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> c_int>
§send_messages: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: *mut GOutputMessage, _: c_uint, _: c_int, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> c_int>
§create_source: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: GIOCondition, _: *mut GCancellable) -> *mut GSource>
§condition_check: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: GIOCondition) -> GIOCondition>
§condition_wait: Option<unsafe extern "C" fn(_: *mut GDatagramBased, _: GIOCondition, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
Trait Implementations§
source§impl Clone for GDatagramBasedInterface
impl Clone for GDatagramBasedInterface
source§fn clone(&self) -> GDatagramBasedInterface
fn clone(&self) -> GDatagramBasedInterface
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 more