Struct include_dir::Dir [−][src]
pub struct Dir<'a> { /* fields omitted */ }
Expand description
A directory entry.
Implementations
Fetch a sub-directory by exactly matching its path relative to the
directory included with include_dir!()
.
Fetch a sub-directory by exactly matching its path relative to the
directory included with include_dir!()
.
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