pub struct ExportFile {
pub path: PathBuf,
pub contents: String,
}Expand description
A single emitted file: a relative path and its textual contents.
Fields§
§path: PathBufPath relative to the export output directory.
contents: StringFull textual contents of the file.
Trait Implementations§
Source§impl Clone for ExportFile
impl Clone for ExportFile
Source§fn clone(&self) -> ExportFile
fn clone(&self) -> ExportFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExportFile
impl RefUnwindSafe for ExportFile
impl Send for ExportFile
impl Sync for ExportFile
impl Unpin for ExportFile
impl UnsafeUnpin for ExportFile
impl UnwindSafe for ExportFile
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