[][src]Trait sourceview::FileExt

pub trait FileExt: 'static {
    fn check_file_on_disk(&self);
fn get_compression_type(&self) -> CompressionType;
fn get_encoding(&self) -> Option<Encoding>;
fn get_location(&self) -> Option<File>;
fn get_newline_type(&self) -> NewlineType;
fn is_deleted(&self) -> bool;
fn is_externally_modified(&self) -> bool;
fn is_local(&self) -> bool;
fn is_readonly(&self) -> bool;
fn set_location<P: IsA<File>>(&self, location: Option<&P>);
fn get_property_read_only(&self) -> bool;
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_location_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_newline_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_read_only_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn check_file_on_disk(&self)

fn get_compression_type(&self) -> CompressionType

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

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

fn get_newline_type(&self) -> NewlineType

fn is_deleted(&self) -> bool

fn is_externally_modified(&self) -> bool

fn is_local(&self) -> bool

fn is_readonly(&self) -> bool

fn set_location<P: IsA<File>>(&self, location: Option<&P>)

fn get_property_read_only(&self) -> bool

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_location_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

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

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

Loading content...

Implementors

impl<O: IsA<File>> FileExt for O[src]

Loading content...