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
sourceimpl Clone for GDatagramBasedInterface
impl Clone for GDatagramBasedInterface
sourcefn clone(&self) -> GDatagramBasedInterface
fn clone(&self) -> GDatagramBasedInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GDatagramBasedInterface
impl Debug for GDatagramBasedInterface
impl Copy for GDatagramBasedInterface
Auto Trait Implementations
impl RefUnwindSafe for GDatagramBasedInterface
impl Send for GDatagramBasedInterface
impl Sync for GDatagramBasedInterface
impl Unpin for GDatagramBasedInterface
impl UnwindSafe for GDatagramBasedInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more