pub struct MarkdownExtensions {
pub directives: bool,
pub math: bool,
}Expand description
Markdown extensions to enable for an Editor parse (see
Editor::new_ext). Ignored for non-Markdown formats. Both default off,
matching the library.
Fields§
§directives: boolGeneric directives: :name, ::name, :::name.
math: bool$...$ / $$...$$ math.
Trait Implementations§
Source§impl Clone for MarkdownExtensions
impl Clone for MarkdownExtensions
Source§fn clone(&self) -> MarkdownExtensions
fn clone(&self) -> MarkdownExtensions
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 moreimpl Copy for MarkdownExtensions
Source§impl Debug for MarkdownExtensions
impl Debug for MarkdownExtensions
Source§impl Default for MarkdownExtensions
impl Default for MarkdownExtensions
Source§fn default() -> MarkdownExtensions
fn default() -> MarkdownExtensions
Returns the “default value” for a type. Read more
impl Eq for MarkdownExtensions
Source§impl PartialEq for MarkdownExtensions
impl PartialEq for MarkdownExtensions
impl StructuralPartialEq for MarkdownExtensions
Auto Trait Implementations§
impl Freeze for MarkdownExtensions
impl RefUnwindSafe for MarkdownExtensions
impl Send for MarkdownExtensions
impl Sync for MarkdownExtensions
impl Unpin for MarkdownExtensions
impl UnsafeUnpin for MarkdownExtensions
impl UnwindSafe for MarkdownExtensions
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