Struct gio_sys::GPollableInputStreamInterface
source · #[repr(C)]pub struct GPollableInputStreamInterface {
pub g_iface: GTypeInterface,
pub can_poll: Option<unsafe extern "C" fn(_: *mut GPollableInputStream) -> gboolean>,
pub is_readable: Option<unsafe extern "C" fn(_: *mut GPollableInputStream) -> gboolean>,
pub create_source: Option<unsafe extern "C" fn(_: *mut GPollableInputStream, _: *mut GCancellable) -> *mut GSource>,
pub read_nonblocking: Option<unsafe extern "C" fn(_: *mut GPollableInputStream, _: *mut u8, _: size_t, _: *mut *mut GError) -> ssize_t>,
}Fields§
§g_iface: GTypeInterface§can_poll: Option<unsafe extern "C" fn(_: *mut GPollableInputStream) -> gboolean>§is_readable: Option<unsafe extern "C" fn(_: *mut GPollableInputStream) -> gboolean>§create_source: Option<unsafe extern "C" fn(_: *mut GPollableInputStream, _: *mut GCancellable) -> *mut GSource>§read_nonblocking: Option<unsafe extern "C" fn(_: *mut GPollableInputStream, _: *mut u8, _: size_t, _: *mut *mut GError) -> ssize_t>Trait Implementations§
source§impl Clone for GPollableInputStreamInterface
impl Clone for GPollableInputStreamInterface
source§fn clone(&self) -> GPollableInputStreamInterface
fn clone(&self) -> GPollableInputStreamInterface
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 more