[][src]Trait gio::FileInfoExt

pub trait FileInfoExt: 'static {
    fn clear_status(&self);
fn copy_into<P: IsA<FileInfo>>(&self, dest_info: &P);
fn dup(&self) -> Option<FileInfo>;
fn get_attribute_as_string(&self, attribute: &str) -> Option<GString>;
fn get_attribute_boolean(&self, attribute: &str) -> bool;
fn get_attribute_byte_string(&self, attribute: &str) -> Option<GString>;
fn get_attribute_int32(&self, attribute: &str) -> i32;
fn get_attribute_int64(&self, attribute: &str) -> i64;
fn get_attribute_object(&self, attribute: &str) -> Option<Object>;
fn get_attribute_string(&self, attribute: &str) -> Option<GString>;
fn get_attribute_stringv(&self, attribute: &str) -> Vec<GString>;
fn get_attribute_uint32(&self, attribute: &str) -> u32;
fn get_attribute_uint64(&self, attribute: &str) -> u64;
fn get_content_type(&self) -> Option<GString>;
fn get_display_name(&self) -> Option<GString>;
fn get_edit_name(&self) -> Option<GString>;
fn get_etag(&self) -> Option<GString>;
fn get_file_type(&self) -> FileType;
fn get_icon(&self) -> Option<Icon>;
fn get_is_backup(&self) -> bool;
fn get_is_hidden(&self) -> bool;
fn get_is_symlink(&self) -> bool;
fn get_name(&self) -> Option<PathBuf>;
fn get_size(&self) -> i64;
fn get_sort_order(&self) -> i32;
fn get_symbolic_icon(&self) -> Option<Icon>;
fn get_symlink_target(&self) -> Option<GString>;
fn has_attribute(&self, attribute: &str) -> bool;
fn has_namespace(&self, name_space: &str) -> bool;
fn list_attributes<'a, P: Into<Option<&'a str>>>(
        &self,
        name_space: P
    ) -> Vec<GString>;
fn remove_attribute(&self, attribute: &str);
fn set_attribute_boolean(&self, attribute: &str, attr_value: bool);
fn set_attribute_byte_string(&self, attribute: &str, attr_value: &str);
fn set_attribute_int32(&self, attribute: &str, attr_value: i32);
fn set_attribute_int64(&self, attribute: &str, attr_value: i64);
fn set_attribute_object<P: IsA<Object>>(
        &self,
        attribute: &str,
        attr_value: &P
    );
fn set_attribute_string(&self, attribute: &str, attr_value: &str);
fn set_attribute_stringv(&self, attribute: &str, attr_value: &[&str]);
fn set_attribute_uint32(&self, attribute: &str, attr_value: u32);
fn set_attribute_uint64(&self, attribute: &str, attr_value: u64);
fn set_content_type(&self, content_type: &str);
fn set_display_name(&self, display_name: &str);
fn set_edit_name(&self, edit_name: &str);
fn set_file_type(&self, type_: FileType);
fn set_icon<P: IsA<Icon>>(&self, icon: &P);
fn set_is_hidden(&self, is_hidden: bool);
fn set_is_symlink(&self, is_symlink: bool);
fn set_name<P: AsRef<Path>>(&self, name: P);
fn set_size(&self, size: i64);
fn set_sort_order(&self, sort_order: i32);
fn set_symbolic_icon<P: IsA<Icon>>(&self, icon: &P);
fn set_symlink_target(&self, symlink_target: &str);
fn unset_attribute_mask(&self); }

Required methods

fn clear_status(&self)

fn copy_into<P: IsA<FileInfo>>(&self, dest_info: &P)

fn dup(&self) -> Option<FileInfo>

fn get_attribute_as_string(&self, attribute: &str) -> Option<GString>

fn get_attribute_boolean(&self, attribute: &str) -> bool

fn get_attribute_byte_string(&self, attribute: &str) -> Option<GString>

fn get_attribute_int32(&self, attribute: &str) -> i32

fn get_attribute_int64(&self, attribute: &str) -> i64

fn get_attribute_object(&self, attribute: &str) -> Option<Object>

fn get_attribute_string(&self, attribute: &str) -> Option<GString>

fn get_attribute_stringv(&self, attribute: &str) -> Vec<GString>

fn get_attribute_uint32(&self, attribute: &str) -> u32

fn get_attribute_uint64(&self, attribute: &str) -> u64

fn get_content_type(&self) -> Option<GString>

fn get_display_name(&self) -> Option<GString>

fn get_edit_name(&self) -> Option<GString>

fn get_etag(&self) -> Option<GString>

fn get_file_type(&self) -> FileType

fn get_icon(&self) -> Option<Icon>

fn get_is_backup(&self) -> bool

fn get_is_hidden(&self) -> bool

fn get_name(&self) -> Option<PathBuf>

fn get_size(&self) -> i64

fn get_sort_order(&self) -> i32

fn get_symbolic_icon(&self) -> Option<Icon>

fn has_attribute(&self, attribute: &str) -> bool

fn has_namespace(&self, name_space: &str) -> bool

fn list_attributes<'a, P: Into<Option<&'a str>>>(
    &self,
    name_space: P
) -> Vec<GString>

fn remove_attribute(&self, attribute: &str)

fn set_attribute_boolean(&self, attribute: &str, attr_value: bool)

fn set_attribute_byte_string(&self, attribute: &str, attr_value: &str)

fn set_attribute_int32(&self, attribute: &str, attr_value: i32)

fn set_attribute_int64(&self, attribute: &str, attr_value: i64)

fn set_attribute_object<P: IsA<Object>>(&self, attribute: &str, attr_value: &P)

fn set_attribute_string(&self, attribute: &str, attr_value: &str)

fn set_attribute_stringv(&self, attribute: &str, attr_value: &[&str])

fn set_attribute_uint32(&self, attribute: &str, attr_value: u32)

fn set_attribute_uint64(&self, attribute: &str, attr_value: u64)

fn set_content_type(&self, content_type: &str)

fn set_display_name(&self, display_name: &str)

fn set_edit_name(&self, edit_name: &str)

fn set_file_type(&self, type_: FileType)

fn set_icon<P: IsA<Icon>>(&self, icon: &P)

fn set_is_hidden(&self, is_hidden: bool)

fn set_name<P: AsRef<Path>>(&self, name: P)

fn set_size(&self, size: i64)

fn set_sort_order(&self, sort_order: i32)

fn set_symbolic_icon<P: IsA<Icon>>(&self, icon: &P)

fn unset_attribute_mask(&self)

Loading content...

Implementors

impl<O: IsA<FileInfo>> FileInfoExt for O[src]

Loading content...