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 moresource§impl Debug for GSeekableIface
impl Debug for GSeekableIface
impl Copy for GSeekableIface
Auto Trait Implementations§
impl Freeze for GSeekableIface
impl RefUnwindSafe for GSeekableIface
impl Send for GSeekableIface
impl Sync for GSeekableIface
impl Unpin for GSeekableIface
impl UnwindSafe for GSeekableIface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)