[][src]Trait gio::SeekableExt

pub trait SeekableExt: 'static {
    fn can_seek(&self) -> bool;
fn can_truncate(&self) -> bool;
fn seek<P: IsA<Cancellable>>(
        &self,
        offset: i64,
        type_: SeekType,
        cancellable: Option<&P>
    ) -> Result<(), Error>;
fn tell(&self) -> i64;
fn truncate<P: IsA<Cancellable>>(
        &self,
        offset: i64,
        cancellable: Option<&P>
    ) -> Result<(), Error>; }

Required methods

fn can_seek(&self) -> bool

fn can_truncate(&self) -> bool

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

fn tell(&self) -> i64

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

Loading content...

Implementors

impl<O: IsA<Seekable>> SeekableExt for O[src]

Loading content...