pub enum OpenFileType {
Dir,
File,
}
Expand description
Represents whether opening a file or directory
Variants§
Trait Implementations§
Source§impl Clone for OpenFileType
impl Clone for OpenFileType
Source§fn clone(&self) -> OpenFileType
fn clone(&self) -> OpenFileType
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 OpenFileType
impl Debug for OpenFileType
Source§impl From<OpenFileType> for OpenType
impl From<OpenFileType> for OpenType
Source§fn from(ty: OpenFileType) -> Self
fn from(ty: OpenFileType) -> Self
Converts to this type from the input type.
Source§impl Hash for OpenFileType
impl Hash for OpenFileType
Source§impl PartialEq for OpenFileType
impl PartialEq for OpenFileType
impl Copy for OpenFileType
impl Eq for OpenFileType
impl StructuralPartialEq for OpenFileType
Auto Trait Implementations§
impl Freeze for OpenFileType
impl RefUnwindSafe for OpenFileType
impl Send for OpenFileType
impl Sync for OpenFileType
impl Unpin for OpenFileType
impl UnwindSafe for OpenFileType
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