#[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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)