Struct libvips::bindings::_GPollableOutputStreamInterface
source · #[repr(C)]pub struct _GPollableOutputStreamInterface {
pub g_iface: GTypeInterface,
pub can_poll: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream) -> gboolean>,
pub is_writable: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream) -> gboolean>,
pub create_source: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream, cancellable: *mut GCancellable) -> *mut GSource>,
pub write_nonblocking: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream, buffer: *const c_void, count: gsize, error: *mut *mut GError) -> gssize>,
pub writev_nonblocking: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream, vectors: *const GOutputVector, n_vectors: gsize, bytes_written: *mut gsize, error: *mut *mut GError) -> GPollableReturn>,
}
Fields§
§g_iface: GTypeInterface
§can_poll: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream) -> gboolean>
§is_writable: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream) -> gboolean>
§create_source: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream, cancellable: *mut GCancellable) -> *mut GSource>
§write_nonblocking: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream, buffer: *const c_void, count: gsize, error: *mut *mut GError) -> gssize>
§writev_nonblocking: Option<unsafe extern "C" fn(stream: *mut GPollableOutputStream, vectors: *const GOutputVector, n_vectors: gsize, bytes_written: *mut gsize, error: *mut *mut GError) -> GPollableReturn>
Trait Implementations§
source§impl Clone for _GPollableOutputStreamInterface
impl Clone for _GPollableOutputStreamInterface
source§fn clone(&self) -> _GPollableOutputStreamInterface
fn clone(&self) -> _GPollableOutputStreamInterface
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 PartialEq for _GPollableOutputStreamInterface
impl PartialEq for _GPollableOutputStreamInterface
source§fn eq(&self, other: &_GPollableOutputStreamInterface) -> bool
fn eq(&self, other: &_GPollableOutputStreamInterface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _GPollableOutputStreamInterface
impl Eq for _GPollableOutputStreamInterface
impl StructuralPartialEq for _GPollableOutputStreamInterface
Auto Trait Implementations§
impl RefUnwindSafe for _GPollableOutputStreamInterface
impl Send for _GPollableOutputStreamInterface
impl Sync for _GPollableOutputStreamInterface
impl Unpin for _GPollableOutputStreamInterface
impl UnwindSafe for _GPollableOutputStreamInterface
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