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
sourceimpl Clone for GPollableInputStreamInterface
impl Clone for GPollableInputStreamInterface
sourcefn clone(&self) -> GPollableInputStreamInterface
fn clone(&self) -> GPollableInputStreamInterface
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 GPollableInputStreamInterface
impl Debug for GPollableInputStreamInterface
impl Copy for GPollableInputStreamInterface
Auto Trait Implementations
impl RefUnwindSafe for GPollableInputStreamInterface
impl Send for GPollableInputStreamInterface
impl Sync for GPollableInputStreamInterface
impl Unpin for GPollableInputStreamInterface
impl UnwindSafe for GPollableInputStreamInterface
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