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 moreimpl Copy for GPollableInputStreamInterface
Auto Trait Implementations§
impl Freeze for GPollableInputStreamInterface
impl RefUnwindSafe for GPollableInputStreamInterface
impl Send for GPollableInputStreamInterface
impl Sync for GPollableInputStreamInterface
impl Unpin for GPollableInputStreamInterface
impl UnwindSafe for GPollableInputStreamInterface
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