pub enum RenderProfile {
Pulldown,
CmarkGfm,
}Expand description
HTML spelling policy for crate::render_html_with_render_options.
Variants§
Pulldown
Use pulldown-cmark’s built-in HTML renderer.
CmarkGfm
Spell HTML like cmark-gfm where that can be done without changing parser semantics.
Trait Implementations§
Source§impl Clone for RenderProfile
impl Clone for RenderProfile
Source§fn clone(&self) -> RenderProfile
fn clone(&self) -> RenderProfile
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 moreSource§impl Debug for RenderProfile
impl Debug for RenderProfile
Source§impl Default for RenderProfile
impl Default for RenderProfile
Source§fn default() -> RenderProfile
fn default() -> RenderProfile
Returns the “default value” for a type. Read more
Source§impl PartialEq for RenderProfile
impl PartialEq for RenderProfile
Source§fn eq(&self, other: &RenderProfile) -> bool
fn eq(&self, other: &RenderProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RenderProfile
impl Eq for RenderProfile
impl StructuralPartialEq for RenderProfile
Auto Trait Implementations§
impl Freeze for RenderProfile
impl RefUnwindSafe for RenderProfile
impl Send for RenderProfile
impl Sync for RenderProfile
impl Unpin for RenderProfile
impl UnsafeUnpin for RenderProfile
impl UnwindSafe for RenderProfile
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