pub struct FileType {
attributes: c_ulong,
reparse_tag: c_ulong,
}
Fields§
§attributes: c_ulong
§reparse_tag: c_ulong
Implementations§
source§impl FileType
impl FileType
fn new(attrs: c_ulong, reparse_tag: c_ulong) -> FileType
pub fn is_dir(&self) -> bool
pub fn is_file(&self) -> bool
pub fn is_symlink(&self) -> bool
pub fn is_symlink_dir(&self) -> bool
pub fn is_symlink_file(&self) -> bool
fn is_directory(&self) -> bool
fn is_reparse_point(&self) -> bool
fn is_reparse_tag_name_surrogate(&self) -> bool
Trait Implementations§
source§impl PartialEq<FileType> for FileType
impl PartialEq<FileType> for FileType
impl Copy for FileType
impl StructuralEq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
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