pub enum DirectoryEntryType {
File,
Directory,
}
Expand description
The type of a directory entry.
Variants§
Trait Implementations§
Source§impl Clone for DirectoryEntryType
impl Clone for DirectoryEntryType
Source§fn clone(&self) -> DirectoryEntryType
fn clone(&self) -> DirectoryEntryType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DirectoryEntryType
impl Debug for DirectoryEntryType
Source§impl Hash for DirectoryEntryType
impl Hash for DirectoryEntryType
Source§impl Ord for DirectoryEntryType
impl Ord for DirectoryEntryType
Source§fn cmp(&self, other: &DirectoryEntryType) -> Ordering
fn cmp(&self, other: &DirectoryEntryType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DirectoryEntryType
impl PartialEq for DirectoryEntryType
Source§impl PartialOrd for DirectoryEntryType
impl PartialOrd for DirectoryEntryType
impl Copy for DirectoryEntryType
impl Eq for DirectoryEntryType
impl StructuralPartialEq for DirectoryEntryType
Auto Trait Implementations§
impl Freeze for DirectoryEntryType
impl RefUnwindSafe for DirectoryEntryType
impl Send for DirectoryEntryType
impl Sync for DirectoryEntryType
impl Unpin for DirectoryEntryType
impl UnwindSafe for DirectoryEntryType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more