pub struct TemplatedFileRender {
pub rendered_dst: String,
pub rendered_contents: String,
}Expand description
Outcome of render_templated_file_entry.
rendered_dst is the relative path the caller should resolve against
its output directory (the top-level stage uses dist/; the archive
stage uses a per-(archive_id, target, format) staging dir).
rendered_contents is the UTF-8 body to write at rendered_dst.
Fields§
§rendered_dst: String§rendered_contents: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for TemplatedFileRender
impl RefUnwindSafe for TemplatedFileRender
impl Send for TemplatedFileRender
impl Sync for TemplatedFileRender
impl Unpin for TemplatedFileRender
impl UnsafeUnpin for TemplatedFileRender
impl UnwindSafe for TemplatedFileRender
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