Struct include_dir::File [−][src]
pub struct File<'a> { /* fields omitted */ }
Expand description
A file with its contents stored in a &'static [u8]
.
Implementations
The full path for this File
, relative to the directory passed to
crate::include_dir!()
.
The file’s raw contents.
The file’s contents interpreted as a string.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for File<'a>
impl<'a> UnwindSafe for File<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more