pub struct Ctx {
pub file_path: PathBuf,
pub root: PathBuf,
pub body: String,
pub html: Option<String>,
pub mdx_body: Option<String>,
pub toc: Option<Value>,
pub plain_text: Option<String>,
pub unique_cache: Mutex<HashSet<String>>,
pub assets: Option<AssetPipeline>,
}Fields§
§file_path: PathBuf§root: PathBuf§body: String§html: Option<String>§mdx_body: Option<String>§toc: Option<Value>§plain_text: Option<String>§unique_cache: Mutex<HashSet<String>>§assets: Option<AssetPipeline>Implementations§
Auto Trait Implementations§
impl !Freeze for Ctx
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin for Ctx
impl UnsafeUnpin for Ctx
impl UnwindSafe for Ctx
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