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 moresource§impl Debug for GDatagramBasedInterface
impl Debug for GDatagramBasedInterface
impl Copy for GDatagramBasedInterface
Auto Trait Implementations§
impl Freeze for GDatagramBasedInterface
impl RefUnwindSafe for GDatagramBasedInterface
impl Send for GDatagramBasedInterface
impl Sync for GDatagramBasedInterface
impl Unpin for GDatagramBasedInterface
impl UnwindSafe for GDatagramBasedInterface
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