#[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 duplicate 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 _GPollableOutputStreamInterface
Auto Trait Implementations§
impl Freeze for _GPollableOutputStreamInterface
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