Trait sourceview4::prelude::FileLoaderExt
source · 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
Provided Methods§
sourcefn compression_type(&self) -> CompressionType
fn compression_type(&self) -> CompressionType
Returns
the detected compression type.
sourcefn input_stream(&self) -> Option<InputStream>
fn input_stream(&self) -> Option<InputStream>
Returns
the gio::InputStream
to load, or None
if a gio::File
is used.
sourcefn newline_type(&self) -> NewlineType
fn newline_type(&self) -> NewlineType
Returns
the detected newline type.
Object Safety§
This trait is not object safe.