[]Trait gtk::subclass::prelude::SeekableImpl

pub trait SeekableImpl: 'static + Send + ObjectImpl {
    fn tell(&self, seekable: &Seekable) -> i64;
fn can_seek(&self, seekable: &Seekable) -> bool;
fn seek(
        &self,
        seekable: &Seekable,
        offset: i64,
        type_: SeekType,
        cancellable: Option<&Cancellable>
    ) -> Result<(), Error>;
fn can_truncate(&self, seekable: &Seekable) -> bool;
fn truncate(
        &self,
        seekable: &Seekable,
        offset: i64,
        cancellable: Option<&Cancellable>
    ) -> Result<(), Error>; }

Required methods

fn tell(&self, seekable: &Seekable) -> i64

fn can_seek(&self, seekable: &Seekable) -> bool

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

fn can_truncate(&self, seekable: &Seekable) -> bool

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

Loading content...

Implementors

Loading content...