Trait gio::prelude::SeekableExt [−][src]
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>;
}