pub trait FileLoaderExt: IsA<FileLoader> + Sealed + 'static {
    // Provided methods
    fn buffer(&self) -> Option<Buffer> { ... }
    fn compression_type(&self) -> CompressionType { ... }
    fn encoding(&self) -> Option<Encoding> { ... }
    fn file(&self) -> Option<File> { ... }
    fn input_stream(&self) -> Option<InputStream> { ... }
    fn location(&self) -> Option<File> { ... }
    fn newline_type(&self) -> NewlineType { ... }
}
Expand description

Trait containing all FileLoader methods.

Implementors

FileLoader

Provided Methods§

source

fn buffer(&self) -> Option<Buffer>

Returns

the Buffer to load the contents into.

source

fn compression_type(&self) -> CompressionType

Returns

the detected compression type.

source

fn encoding(&self) -> Option<Encoding>

Returns

the detected file encoding.

source

fn file(&self) -> Option<File>

source

fn input_stream(&self) -> Option<InputStream>

Returns

the gio::InputStream to load, or None if a gio::File is used.

source

fn location(&self) -> Option<File>

Returns

the gio::File to load, or None if an input stream is used.

source

fn newline_type(&self) -> NewlineType

Returns

the detected newline type.

Object Safety§

This trait is not object safe.

Implementors§