#[repr(C)]pub struct _GSocketAddressEnumeratorClass {
pub parent_class: GObjectClass,
pub next: Option<unsafe extern "C" fn(enumerator: *mut GSocketAddressEnumerator, cancellable: *mut GCancellable, error: *mut *mut GError) -> *mut GSocketAddress>,
pub next_async: Option<unsafe extern "C" fn(enumerator: *mut GSocketAddressEnumerator, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub next_finish: Option<unsafe extern "C" fn(enumerator: *mut GSocketAddressEnumerator, result: *mut GAsyncResult, error: *mut *mut GError) -> *mut GSocketAddress>,
}
Expand description
GSocketAddressEnumeratorClass: @next: Virtual method for g_socket_address_enumerator_next(). @next_async: Virtual method for g_socket_address_enumerator_next_async(). @next_finish: Virtual method for g_socket_address_enumerator_next_finish().
Class structure for #GSocketAddressEnumerator.
Fields§
§parent_class: GObjectClass
§next: Option<unsafe extern "C" fn(enumerator: *mut GSocketAddressEnumerator, cancellable: *mut GCancellable, error: *mut *mut GError) -> *mut GSocketAddress>
§next_async: Option<unsafe extern "C" fn(enumerator: *mut GSocketAddressEnumerator, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§next_finish: Option<unsafe extern "C" fn(enumerator: *mut GSocketAddressEnumerator, result: *mut GAsyncResult, error: *mut *mut GError) -> *mut GSocketAddress>
Trait Implementations§
Source§impl Clone for _GSocketAddressEnumeratorClass
impl Clone for _GSocketAddressEnumeratorClass
Source§fn clone(&self) -> _GSocketAddressEnumeratorClass
fn clone(&self) -> _GSocketAddressEnumeratorClass
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 PartialEq for _GSocketAddressEnumeratorClass
impl PartialEq for _GSocketAddressEnumeratorClass
Source§fn eq(&self, other: &_GSocketAddressEnumeratorClass) -> bool
fn eq(&self, other: &_GSocketAddressEnumeratorClass) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for _GSocketAddressEnumeratorClass
impl Eq for _GSocketAddressEnumeratorClass
impl StructuralPartialEq for _GSocketAddressEnumeratorClass
Auto Trait Implementations§
impl Freeze for _GSocketAddressEnumeratorClass
impl RefUnwindSafe for _GSocketAddressEnumeratorClass
impl !Send for _GSocketAddressEnumeratorClass
impl !Sync for _GSocketAddressEnumeratorClass
impl Unpin for _GSocketAddressEnumeratorClass
impl UnwindSafe for _GSocketAddressEnumeratorClass
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