Struct gio_sys::GPollableOutputStreamInterface
source · #[repr(C)]pub struct GPollableOutputStreamInterface {
pub g_iface: GTypeInterface,
pub can_poll: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream) -> gboolean>,
pub is_writable: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream) -> gboolean>,
pub create_source: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream, _: *mut GCancellable) -> *mut GSource>,
pub write_nonblocking: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream, _: *mut u8, _: size_t, _: *mut *mut GError) -> ssize_t>,
pub writev_nonblocking: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream, _: *const GOutputVector, _: size_t, _: *mut size_t, _: *mut *mut GError) -> GPollableReturn>,
}
Fields
g_iface: GTypeInterface
can_poll: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream) -> gboolean>
is_writable: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream) -> gboolean>
create_source: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream, _: *mut GCancellable) -> *mut GSource>
write_nonblocking: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream, _: *mut u8, _: size_t, _: *mut *mut GError) -> ssize_t>
writev_nonblocking: Option<unsafe extern "C" fn(_: *mut GPollableOutputStream, _: *const GOutputVector, _: size_t, _: *mut size_t, _: *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 moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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