pub struct MdCtx {
pub raw_base: String,
pub blob_base: String,
}Expand description
Link bases for relative targets: images resolve against raw_base, links
against blob_base (JSS passes …/raw/<ref> and …/blob/<ref>).
Fields§
§raw_base: StringPrefix for relative image sources.
blob_base: StringPrefix for relative link targets.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MdCtx
impl RefUnwindSafe for MdCtx
impl Send for MdCtx
impl Sync for MdCtx
impl Unpin for MdCtx
impl UnsafeUnpin for MdCtx
impl UnwindSafe for MdCtx
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