pub struct FileType { /* private fields */ }
Expand description
Wrapper for fs::FileType
.
Implementations§
Source§impl FileType
impl FileType
Sourcepub fn is_dir(&self) -> bool
pub fn is_dir(&self) -> bool
Wrapper for FileType::is_dir
.
Sourcepub fn is_file(&self) -> bool
pub fn is_file(&self) -> bool
Wrapper for FileType::is_file
.
Sourcepub fn is_symlink(&self) -> bool
pub fn is_symlink(&self) -> bool
Wrapper for FileType::is_symlink
.
Trait Implementations§
impl Copy for FileType
impl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
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