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 moresource§impl Debug for GSocketAddressClass
impl Debug for GSocketAddressClass
impl Copy for GSocketAddressClass
Auto Trait Implementations§
impl RefUnwindSafe for GSocketAddressClass
impl !Send for GSocketAddressClass
impl !Sync for GSocketAddressClass
impl Unpin for GSocketAddressClass
impl UnwindSafe for GSocketAddressClass
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