#[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: GTypeInterfacecan_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
sourceimpl Clone for _GPollableOutputStreamInterface
impl Clone for _GPollableOutputStreamInterface
sourcefn clone(&self) -> _GPollableOutputStreamInterface
fn clone(&self) -> _GPollableOutputStreamInterface
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
impl Copy 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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more