Struct NodeMathBlock
#[non_exhaustive]
pub struct NodeMathBlock { pub fence_offset: usize, pub literal: String, pub closed: bool }
A block math span delimited by standalone $$ lines.
Fields
fence_offset: usizeThe indentation level of the opening fence marker.
literal: StringThe literal contents of the math block, excluding the delimiter lines.
closed: boolWhether this math block was explicitly closed by a closing fence.
Implementations
impl NodeMathBlock
fn new(literal: impl Into<String>) -> SelfCreate a new
NodeMathBlockwith the given literal content.
Trait Implementations
impl Clone for NodeMathBlock
fn clone(&self) -> Self
impl Debug for NodeMathBlock
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for NodeMathBlock
fn default() -> Self
impl Eq for NodeMathBlock
impl PartialEq for NodeMathBlock
fn eq(&self, other: &Self) -> bool