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
sourceimpl Clone for GSeekableIface
impl Clone for GSeekableIface
sourcefn clone(&self) -> GSeekableIface
fn clone(&self) -> GSeekableIface
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
sourceimpl Debug for GSeekableIface
impl Debug for GSeekableIface
impl Copy for GSeekableIface
Auto Trait Implementations
impl RefUnwindSafe for GSeekableIface
impl Send for GSeekableIface
impl Sync for GSeekableIface
impl Unpin for GSeekableIface
impl UnwindSafe for GSeekableIface
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