Type Alias GInputStreamClass

Source
pub type GInputStreamClass = _GInputStreamClass;
Expand description

GInputStream:

Base class for streaming input operations.

Aliased Type§

struct GInputStreamClass {
Show 15 fields pub parent_class: _GObjectClass, pub read_fn: Option<unsafe extern "C" fn(*mut _GInputStream, *mut c_void, u32, *mut _GCancellable, *mut *mut _GError) -> i32>, pub skip: Option<unsafe extern "C" fn(*mut _GInputStream, u32, *mut _GCancellable, *mut *mut _GError) -> i32>, pub close_fn: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GCancellable, *mut *mut _GError) -> i32>, pub read_async: Option<unsafe extern "C" fn(*mut _GInputStream, *mut c_void, u32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub read_finish: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub skip_async: Option<unsafe extern "C" fn(*mut _GInputStream, u32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub skip_finish: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub close_async: Option<unsafe extern "C" fn(*mut _GInputStream, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub close_finish: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub _g_reserved1: Option<unsafe extern "C" fn()>, pub _g_reserved2: Option<unsafe extern "C" fn()>, pub _g_reserved3: Option<unsafe extern "C" fn()>, pub _g_reserved4: Option<unsafe extern "C" fn()>, pub _g_reserved5: Option<unsafe extern "C" fn()>,
}

Fields§

§parent_class: _GObjectClass§read_fn: Option<unsafe extern "C" fn(*mut _GInputStream, *mut c_void, u32, *mut _GCancellable, *mut *mut _GError) -> i32>§skip: Option<unsafe extern "C" fn(*mut _GInputStream, u32, *mut _GCancellable, *mut *mut _GError) -> i32>§close_fn: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GCancellable, *mut *mut _GError) -> i32>§read_async: Option<unsafe extern "C" fn(*mut _GInputStream, *mut c_void, u32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§read_finish: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>§skip_async: Option<unsafe extern "C" fn(*mut _GInputStream, u32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§skip_finish: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>§close_async: Option<unsafe extern "C" fn(*mut _GInputStream, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§close_finish: Option<unsafe extern "C" fn(*mut _GInputStream, *mut _GAsyncResult, *mut *mut _GError) -> i32>§_g_reserved1: Option<unsafe extern "C" fn()>§_g_reserved2: Option<unsafe extern "C" fn()>§_g_reserved3: Option<unsafe extern "C" fn()>§_g_reserved4: Option<unsafe extern "C" fn()>§_g_reserved5: Option<unsafe extern "C" fn()>

Trait Implementations

Source§

impl Clone for _GInputStreamClass

Source§

fn clone(&self) -> _GInputStreamClass

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GInputStreamClass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GInputStreamClass

Source§

fn eq(&self, other: &_GInputStreamClass) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GInputStreamClass

Source§

impl Eq for _GInputStreamClass

Source§

impl StructuralPartialEq for _GInputStreamClass