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 more