Struct libvips::bindings::_GSeekableIface
source · #[repr(C)]pub struct _GSeekableIface {
pub g_iface: GTypeInterface,
pub tell: Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> goffset>,
pub can_seek: Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> gboolean>,
pub seek: Option<unsafe extern "C" fn(seekable: *mut GSeekable, offset: goffset, type_: GSeekType, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>,
pub can_truncate: Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> gboolean>,
pub truncate_fn: Option<unsafe extern "C" fn(seekable: *mut GSeekable, offset: goffset, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>,
}
Fields§
§g_iface: GTypeInterface
§tell: Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> goffset>
§can_seek: Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> gboolean>
§seek: Option<unsafe extern "C" fn(seekable: *mut GSeekable, offset: goffset, type_: GSeekType, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>
§can_truncate: Option<unsafe extern "C" fn(seekable: *mut GSeekable) -> gboolean>
§truncate_fn: Option<unsafe extern "C" fn(seekable: *mut GSeekable, offset: goffset, cancellable: *mut GCancellable, error: *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
source§impl PartialEq for _GSeekableIface
impl PartialEq for _GSeekableIface
source§fn eq(&self, other: &_GSeekableIface) -> bool
fn eq(&self, other: &_GSeekableIface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _GSeekableIface
impl Eq for _GSeekableIface
impl StructuralPartialEq 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§
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