Struct libvips_rs::bindings::_GNetworkMonitorInterface
source · #[repr(C)]pub struct _GNetworkMonitorInterface {
pub g_iface: GTypeInterface,
pub network_changed: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, network_available: gboolean)>,
pub can_reach: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>,
pub can_reach_async: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub can_reach_finish: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
}
Fields§
§g_iface: GTypeInterface
§network_changed: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, network_available: gboolean)>
§can_reach: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>
§can_reach_async: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, connectable: *mut GSocketConnectable, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>
§can_reach_finish: Option<unsafe extern "C" fn(monitor: *mut GNetworkMonitor, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>
Trait Implementations§
source§impl Clone for _GNetworkMonitorInterface
impl Clone for _GNetworkMonitorInterface
source§fn clone(&self) -> _GNetworkMonitorInterface
fn clone(&self) -> _GNetworkMonitorInterface
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 _GNetworkMonitorInterface
impl Debug for _GNetworkMonitorInterface
source§impl PartialEq<_GNetworkMonitorInterface> for _GNetworkMonitorInterface
impl PartialEq<_GNetworkMonitorInterface> for _GNetworkMonitorInterface
source§fn eq(&self, other: &_GNetworkMonitorInterface) -> bool
fn eq(&self, other: &_GNetworkMonitorInterface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _GNetworkMonitorInterface
impl Eq for _GNetworkMonitorInterface
impl StructuralEq for _GNetworkMonitorInterface
impl StructuralPartialEq for _GNetworkMonitorInterface
Auto Trait Implementations§
impl RefUnwindSafe for _GNetworkMonitorInterface
impl Send for _GNetworkMonitorInterface
impl Sync for _GNetworkMonitorInterface
impl Unpin for _GNetworkMonitorInterface
impl UnwindSafe for _GNetworkMonitorInterface
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