Trait FileExt

Source
pub trait FileExt: 'static {
Show 16 methods // 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;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<O: IsA<File>> FileExt for O