pub struct NodeMath {
pub dollar_math: bool,
pub display_math: bool,
pub literal: String,
}Expand description
An inline math span
Fields§
§dollar_math: boolWhether this is dollar math ($ or $$).
false indicates it is code math
display_math: boolWhether this is display math (using $$)
literal: StringThe literal contents of the math span. As the contents are not interpreted as Markdown at all, they are contained within this structure, rather than inserted into a child inline of any kind.
Trait Implementations§
impl Eq for NodeMath
impl StructuralPartialEq for NodeMath
Auto Trait Implementations§
impl Freeze for NodeMath
impl RefUnwindSafe for NodeMath
impl Send for NodeMath
impl Sync for NodeMath
impl Unpin for NodeMath
impl UnwindSafe for NodeMath
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