[][src]Trait sourceview::FileSaverExt

pub trait FileSaverExt: 'static {
    fn get_buffer(&self) -> Option<Buffer>;
fn get_compression_type(&self) -> CompressionType;
fn get_encoding(&self) -> Option<Encoding>;
fn get_file(&self) -> Option<File>;
fn get_flags(&self) -> FileSaverFlags;
fn get_location(&self) -> Option<File>;
fn get_newline_type(&self) -> NewlineType;
fn set_compression_type(&self, compression_type: CompressionType);
fn set_encoding(&self, encoding: Option<&Encoding>);
fn set_flags(&self, flags: FileSaverFlags);
fn set_newline_type(&self, newline_type: NewlineType);
fn connect_property_compression_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_encoding_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_flags_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_newline_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

fn get_compression_type(&self) -> CompressionType

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

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

fn get_flags(&self) -> FileSaverFlags

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

fn get_newline_type(&self) -> NewlineType

fn set_compression_type(&self, compression_type: CompressionType)

fn set_encoding(&self, encoding: Option<&Encoding>)

fn set_flags(&self, flags: FileSaverFlags)

fn set_newline_type(&self, newline_type: NewlineType)

fn connect_property_compression_type_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_encoding_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_flags_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_newline_type_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<FileSaver>> FileSaverExt for O[src]

Loading content...