Struct Options
pub struct Options<'c> {
pub extension: Extension<'c>,
pub parse: Parse<'c>,
pub render: Render,
}Expand description
Re-export comrak’s options for convenience.
§Usage
use mdx_gen::Options;
let mut options = Options::default();
options.extension.strikethrough = true;Umbrella options struct.
Fields§
§extension: Extension<'c>Enable CommonMark extensions.
parse: Parse<'c>Configure parse-time options.
render: RenderConfigure render-time options.
Trait Implementations§
Auto Trait Implementations§
impl<'c> Freeze for Options<'c>
impl<'c> RefUnwindSafe for Options<'c>
impl<'c> Send for Options<'c>
impl<'c> Sync for Options<'c>
impl<'c> Unpin for Options<'c>
impl<'c> UnsafeUnpin for Options<'c>
impl<'c> UnwindSafe for Options<'c>
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