pub struct FileType(/* private fields */);
Expand description
A structure representing a type of file with accessors for each file type.
Implementations§
Source§impl FileType
impl FileType
Sourcepub fn is_symlink_dir(&self) -> bool
Available on Windows only.
pub fn is_symlink_dir(&self) -> bool
Returns true
if this file type is a symbolic link that is also a
directory.
Sourcepub fn is_symlink_file(&self) -> bool
Available on Windows only.
pub fn is_symlink_file(&self) -> bool
Returns true
if this file type is a symbolic link that is also a file.
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