#[repr(C)]pub struct _GDatagramBasedInterface {
pub g_iface: GTypeInterface,
pub receive_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GInputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>,
pub send_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GOutputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>,
pub create_source: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, cancellable: *mut GCancellable) -> *mut GSource>,
pub condition_check: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition) -> GIOCondition>,
pub condition_wait: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>,
}Fields§
§g_iface: GTypeInterface§receive_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GInputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>§send_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GOutputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>§create_source: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, cancellable: *mut GCancellable) -> *mut GSource>§condition_check: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition) -> GIOCondition>§condition_wait: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, timeout: gint64, cancellable: *mut GCancellable, error: *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 duplicate 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