#[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 Freeze for GSocketControlMessageClass
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
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
)