pub struct OutputContext<'a> {
pub config: &'a SiteConfig,
pub store: &'a ContentStore,
pub outputs: &'a HashMap<String, String>,
pub output_dir: &'a Utf8Path,
}Expand description
Context passed after all output files are written.
Fields§
§config: &'a SiteConfig§store: &'a ContentStore§outputs: &'a HashMap<String, String>Map of output path -> rendered HTML.
output_dir: &'a Utf8PathThe output directory path.
Auto Trait Implementations§
impl<'a> Freeze for OutputContext<'a>
impl<'a> !RefUnwindSafe for OutputContext<'a>
impl<'a> Send for OutputContext<'a>
impl<'a> Sync for OutputContext<'a>
impl<'a> Unpin for OutputContext<'a>
impl<'a> UnsafeUnpin for OutputContext<'a>
impl<'a> !UnwindSafe for OutputContext<'a>
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