Struct gio_sys::GSocketControlMessageClass
source · #[repr(C)]pub struct GSocketControlMessageClass {
pub parent_class: GObjectClass,
pub get_size: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage) -> size_t>,
pub get_level: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage) -> c_int>,
pub get_type: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage) -> c_int>,
pub serialize: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage, _: gpointer)>,
pub deserialize: Option<unsafe extern "C" fn(_: c_int, _: c_int, _: size_t, _: gpointer) -> *mut GSocketControlMessage>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
}
Fields§
§parent_class: GObjectClass
§get_size: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage) -> size_t>
§get_level: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage) -> c_int>
§get_type: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage) -> c_int>
§serialize: Option<unsafe extern "C" fn(_: *mut GSocketControlMessage, _: gpointer)>
§deserialize: Option<unsafe extern "C" fn(_: c_int, _: c_int, _: size_t, _: gpointer) -> *mut GSocketControlMessage>
§_g_reserved1: Option<unsafe extern "C" fn()>
§_g_reserved2: Option<unsafe extern "C" fn()>
§_g_reserved3: Option<unsafe extern "C" fn()>
§_g_reserved4: Option<unsafe extern "C" fn()>
§_g_reserved5: Option<unsafe extern "C" fn()>
Trait Implementations§
source§impl Clone for GSocketControlMessageClass
impl Clone for GSocketControlMessageClass
source§fn clone(&self) -> GSocketControlMessageClass
fn clone(&self) -> GSocketControlMessageClass
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 GSocketControlMessageClass
impl Debug for GSocketControlMessageClass
impl Copy for GSocketControlMessageClass
Auto Trait Implementations§
impl RefUnwindSafe for GSocketControlMessageClass
impl !Send for GSocketControlMessageClass
impl !Sync for GSocketControlMessageClass
impl Unpin for GSocketControlMessageClass
impl UnwindSafe for GSocketControlMessageClass
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