Struct gio_sys::GSocketListenerClass
source · [−]#[repr(C)]pub struct GSocketListenerClass {
pub parent_class: GObjectClass,
pub changed: Option<unsafe extern "C" fn(_: *mut GSocketListener)>,
pub event: Option<unsafe extern "C" fn(_: *mut GSocketListener, _: GSocketListenerEvent, _: *mut GSocket)>,
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()>,
pub _g_reserved6: Option<unsafe extern "C" fn()>,
}
Fields
parent_class: GObjectClass
changed: Option<unsafe extern "C" fn(_: *mut GSocketListener)>
event: Option<unsafe extern "C" fn(_: *mut GSocketListener, _: GSocketListenerEvent, _: *mut GSocket)>
_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()>
_g_reserved6: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for GSocketListenerClass
impl Clone for GSocketListenerClass
sourcefn clone(&self) -> GSocketListenerClass
fn clone(&self) -> GSocketListenerClass
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 GSocketListenerClass
impl Debug for GSocketListenerClass
impl Copy for GSocketListenerClass
Auto Trait Implementations
impl RefUnwindSafe for GSocketListenerClass
impl !Send for GSocketListenerClass
impl !Sync for GSocketListenerClass
impl Unpin for GSocketListenerClass
impl UnwindSafe for GSocketListenerClass
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more