Struct gio_sys::GSeekableIface
source · #[repr(C)]pub struct GSeekableIface {
pub g_iface: GTypeInterface,
pub tell: Option<unsafe extern "C" fn(_: *mut GSeekable) -> i64>,
pub can_seek: Option<unsafe extern "C" fn(_: *mut GSeekable) -> gboolean>,
pub seek: Option<unsafe extern "C" fn(_: *mut GSeekable, _: i64, _: GSeekType, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub can_truncate: Option<unsafe extern "C" fn(_: *mut GSeekable) -> gboolean>,
pub truncate_fn: Option<unsafe extern "C" fn(_: *mut GSeekable, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
}Fields§
§g_iface: GTypeInterface§tell: Option<unsafe extern "C" fn(_: *mut GSeekable) -> i64>§can_seek: Option<unsafe extern "C" fn(_: *mut GSeekable) -> gboolean>§seek: Option<unsafe extern "C" fn(_: *mut GSeekable, _: i64, _: GSeekType, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>§can_truncate: Option<unsafe extern "C" fn(_: *mut GSeekable) -> gboolean>§truncate_fn: Option<unsafe extern "C" fn(_: *mut GSeekable, _: i64, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>Trait Implementations§
source§impl Clone for GSeekableIface
impl Clone for GSeekableIface
source§fn clone(&self) -> GSeekableIface
fn clone(&self) -> GSeekableIface
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 more