pub struct RenderOutput {
pub html: String,
pub body_html: String,
}Expand description
The rendered output of a document.
Fields§
§html: StringFull HTML fragment including <style> from the chosen theme.
body_html: StringBody content only — no CSS wrapper.
Trait Implementations§
Source§impl Clone for RenderOutput
impl Clone for RenderOutput
Source§fn clone(&self) -> RenderOutput
fn clone(&self) -> RenderOutput
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 RenderOutput
impl RefUnwindSafe for RenderOutput
impl Send for RenderOutput
impl Sync for RenderOutput
impl Unpin for RenderOutput
impl UnsafeUnpin for RenderOutput
impl UnwindSafe for RenderOutput
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