Enum gio::FileType [−][src]
pub enum FileType {
Unknown,
Regular,
Directory,
SymbolicLink,
Special,
Shortcut,
Mountable,
// some variants omitted
}Variants
UnknownRegularDirectorySymbolicLinkSpecialShortcutMountable
Trait Implementations
impl Clone for FileType[src]
impl Clone for FileTypefn clone(&self) -> FileType[src]
fn clone(&self) -> FileTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for FileType[src]
impl Copy for FileTypeimpl Debug for FileType[src]
impl Debug for FileTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for FileType[src]
impl Eq for FileTypeimpl PartialEq for FileType[src]
impl PartialEq for FileTypefn eq(&self, other: &FileType) -> bool[src]
fn eq(&self, other: &FileType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FileType) -> bool[src]
fn ne(&self, other: &FileType) -> boolThis method tests for !=.
impl Hash for FileType[src]
impl Hash for FileTypefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl StaticType for FileType[src]
impl StaticType for FileTypefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for FileType[src]
impl<'a> FromValueOptional<'a> for FileTypeunsafe fn from_value_optional(value: &Value) -> Option<Self>[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>impl<'a> FromValue<'a> for FileType[src]
impl<'a> FromValue<'a> for FileTypeunsafe fn from_value(value: &Value) -> Self[src]
unsafe fn from_value(value: &Value) -> Selfimpl SetValue for FileType[src]
impl SetValue for FileType