gio::subclass::prelude

Trait SeekableImplExt

Source
pub trait SeekableImplExt: Sealed + ObjectSubclass {
    // Provided methods
    fn parent_tell(&self) -> i64 { ... }
    fn parent_can_seek(&self) -> bool { ... }
    fn parent_seek(
        &self,
        offset: i64,
        type_: SeekType,
        cancellable: Option<&Cancellable>,
    ) -> Result<(), Error> { ... }
    fn parent_can_truncate(&self) -> bool { ... }
    fn parent_truncate(
        &self,
        offset: i64,
        cancellable: Option<&Cancellable>,
    ) -> Result<(), Error> { ... }
}

Provided Methods§

Source

fn parent_tell(&self) -> i64

Source

fn parent_can_seek(&self) -> bool

Source

fn parent_seek( &self, offset: i64, type_: SeekType, cancellable: Option<&Cancellable>, ) -> Result<(), Error>

Source

fn parent_can_truncate(&self) -> bool

Source

fn parent_truncate( &self, offset: i64, cancellable: Option<&Cancellable>, ) -> Result<(), Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§