Struct gio_sys::GSocketAddressClass
source · #[repr(C)]pub struct GSocketAddressClass {
pub parent_class: GObjectClass,
pub get_family: Option<unsafe extern "C" fn(_: *mut GSocketAddress) -> GSocketFamily>,
pub get_native_size: Option<unsafe extern "C" fn(_: *mut GSocketAddress) -> ssize_t>,
pub to_native: Option<unsafe extern "C" fn(_: *mut GSocketAddress, _: gpointer, _: size_t, _: *mut *mut GError) -> gboolean>,
}
Fields§
§parent_class: GObjectClass
§get_family: Option<unsafe extern "C" fn(_: *mut GSocketAddress) -> GSocketFamily>
§get_native_size: Option<unsafe extern "C" fn(_: *mut GSocketAddress) -> ssize_t>
§to_native: Option<unsafe extern "C" fn(_: *mut GSocketAddress, _: gpointer, _: size_t, _: *mut *mut GError) -> gboolean>
Trait Implementations§
source§impl Clone for GSocketAddressClass
impl Clone for GSocketAddressClass
source§fn clone(&self) -> GSocketAddressClass
fn clone(&self) -> GSocketAddressClass
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