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
sourceimpl Clone for GSocketAddressClass
impl Clone for GSocketAddressClass
sourcefn clone(&self) -> GSocketAddressClass
fn clone(&self) -> GSocketAddressClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more