Enum ra_ap_vfs::loader::Entry [−][src]
pub enum Entry {
Files(Vec<AbsPathBuf>),
Directories(Directories),
}
Expand description
A set of files on the file system.
Variants
Files(Vec<AbsPathBuf>)
The Entry
is represented by a raw set of files.
Tuple Fields of Files
0: Vec<AbsPathBuf>
Directories(Directories)
The Entry
is represented by Directories
.
Tuple Fields of Directories
0: Directories
Implementations
Returns:
Entry::Directories(Directories {
extensions: ["rs"],
include: [base],
exclude: [base/.git],
})
Returns:
Entry::Directories(Directories {
extensions: ["rs"],
include: [base],
exclude: [base/.git, base/target],
})
Returns:
Entry::Directories(Directories {
extensions: ["rs"],
include: [base],
exclude: [base/.git, /tests, /examples, /benches],
})
Returns true
if path
is included in self
.
Returns true
if path
is included in self
.
- If
self
isEntry::Files
, returnsfalse
- Else, see
Directories::contains_dir
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl UnwindSafe for Entry
Blanket Implementations
Mutably borrows from an owned value. Read more