pub struct ExpandedFile {
pub relative_path: PathBuf,
pub content: Vec<u8>,
pub is_dir: bool,
}Expand description
A single file produced by a preprocessor’s expansion.
Fields§
§relative_path: PathBufPath relative to the expansion output (usually just the filename).
content: Vec<u8>The file content.
is_dir: boolWhether this entry is a directory marker.
Trait Implementations§
Source§impl Clone for ExpandedFile
impl Clone for ExpandedFile
Source§fn clone(&self) -> ExpandedFile
fn clone(&self) -> ExpandedFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpandedFile
impl RefUnwindSafe for ExpandedFile
impl Send for ExpandedFile
impl Sync for ExpandedFile
impl Unpin for ExpandedFile
impl UnsafeUnpin for ExpandedFile
impl UnwindSafe for ExpandedFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more