Enum nstd_sys::fs::NSTDFileType
source · #[repr(C)]pub enum NSTDFileType {
NSTD_FILE_TYPE_UNKNOWN,
NSTD_FILE_TYPE_REGULAR,
NSTD_FILE_TYPE_DIRECTORY,
NSTD_FILE_TYPE_SYMLINK,
}Available on crate feature
fs only.Expand description
Describes the type of a file.
Variants§
NSTD_FILE_TYPE_UNKNOWN
An unknown file type.
NSTD_FILE_TYPE_REGULAR
A normal text/binary file.
NSTD_FILE_TYPE_DIRECTORY
A directory/folder.
NSTD_FILE_TYPE_SYMLINK
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 copy 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<NSTDFileType> for NSTDFileType
impl PartialEq<NSTDFileType> for NSTDFileType
source§fn eq(&self, other: &NSTDFileType) -> bool
fn eq(&self, other: &NSTDFileType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for NSTDFileType
impl Eq for NSTDFileType
impl StructuralEq for NSTDFileType
impl StructuralPartialEq for NSTDFileType
Auto Trait Implementations§
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