#[repr(C)]pub enum NSTDFileType {
NSTD_FILE_TYPE_UNKNOWN = 0,
NSTD_FILE_TYPE_REGULAR = 1,
NSTD_FILE_TYPE_DIRECTORY = 2,
NSTD_FILE_TYPE_SYMLINK = 3,
}Available on crate feature
fs only.Expand description
Describes the type of a file.
Variants§
NSTD_FILE_TYPE_UNKNOWN = 0
An unknown file type.
NSTD_FILE_TYPE_REGULAR = 1
A normal text/binary file.
NSTD_FILE_TYPE_DIRECTORY = 2
A directory/folder.
NSTD_FILE_TYPE_SYMLINK = 3
A symbolic link.
Trait Implementations§
Source§impl Clone for NSTDFileType
impl Clone for NSTDFileType
Source§fn clone(&self) -> NSTDFileType
fn clone(&self) -> NSTDFileType
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 PartialEq for NSTDFileType
impl PartialEq for NSTDFileType
impl Copy for NSTDFileType
impl Eq for NSTDFileType
impl StructuralPartialEq for NSTDFileType
Auto Trait Implementations§
impl Freeze for NSTDFileType
impl RefUnwindSafe for NSTDFileType
impl Send for NSTDFileType
impl Sync for NSTDFileType
impl Unpin for NSTDFileType
impl UnwindSafe for NSTDFileType
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