pub struct MathParseOptions {
pub bookdown_equation_labels: bool,
}Expand description
Flavor-/extension-dependent parsing options for math content. Default is all-off (pure TeX). The math grammar itself is flavor-agnostic; only constructs layered on top of TeX by a Markdown flavor live here.
Fields§
§bookdown_equation_labels: boolRecognize bookdown equation labels (\#eq:label) as a single
SyntaxKind::MATH_EQUATION_LABEL token (gated on the
bookdown_equation_references extension).
Trait Implementations§
Source§impl Clone for MathParseOptions
impl Clone for MathParseOptions
Source§fn clone(&self) -> MathParseOptions
fn clone(&self) -> MathParseOptions
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 MathParseOptions
Source§impl Debug for MathParseOptions
impl Debug for MathParseOptions
Source§impl Default for MathParseOptions
impl Default for MathParseOptions
Source§fn default() -> MathParseOptions
fn default() -> MathParseOptions
Returns the “default value” for a type. Read more
impl Eq for MathParseOptions
Source§impl PartialEq for MathParseOptions
impl PartialEq for MathParseOptions
Source§fn eq(&self, other: &MathParseOptions) -> bool
fn eq(&self, other: &MathParseOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MathParseOptions
Auto Trait Implementations§
impl Freeze for MathParseOptions
impl RefUnwindSafe for MathParseOptions
impl Send for MathParseOptions
impl Sync for MathParseOptions
impl Unpin for MathParseOptions
impl UnsafeUnpin for MathParseOptions
impl UnwindSafe for MathParseOptions
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