Struct include_dir::Dir [−][src]
pub struct Dir<'a> { /* fields omitted */ }
Expand description
A directory.
Implementations
The full path for this Dir
, relative to the directory passed to
crate::include_dir!()
.
Get a list of the files in this directory.
Get a list of the sub-directories inside this directory.
Recursively search for a DirEntry
with a particular path.
Create directories and extract all files to real filesystem.
Creates parent directories of path
if they do not already exist.
Fails if some files already exist.
In case of error, partially extracted directory may remain on the filesystem.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Dir<'a>
impl<'a> UnwindSafe for Dir<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more