Trait std::os::windows::fs::FileTypeExt [−][src]
pub trait FileTypeExt {
fn is_symlink_dir(&self) -> bool;
fn is_symlink_file(&self) -> bool;
}
🔬 This is a nightly-only experimental API. (
windows_file_type_ext
)This is supported on Windows only.
Expand description
特定于 Windows 的 fs::FileType
扩展。
在 Windows 上,符号链接知道它是文件还是目录。
Required methods
fn is_symlink_dir(&self) -> bool
fn is_symlink_dir(&self) -> bool
🔬 This is a nightly-only experimental API. (
windows_file_type_ext
)如果此文件类型是也是目录的符号链接,则返回 true
。
fn is_symlink_file(&self) -> bool
fn is_symlink_file(&self) -> bool
🔬 This is a nightly-only experimental API. (
windows_file_type_ext
)如果此文件类型是也是文件的符号链接,则返回 true
。