Struct virtual_fs::FileType
source · pub struct FileType {
pub dir: bool,
pub file: bool,
pub symlink: bool,
pub char_device: bool,
pub block_device: bool,
pub socket: bool,
pub fifo: bool,
}
Fields§
§dir: bool
§file: bool
§symlink: bool
§char_device: bool
§block_device: bool
§socket: bool
§fifo: bool
Implementations§
Trait Implementations§
source§impl PartialEq<FileType> for FileType
impl PartialEq<FileType> for FileType
impl Eq 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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.