pub struct ParseNodeOverline {
pub mode: Mode,
pub loc: Option<SourceLocation>,
pub body: Box<AnyParseNode>,
}
Expand description
Represents overlines above mathematical expressions.
This struct handles horizontal lines drawn above mathematical content for emphasis or special notation.
§Fields
mode
- The parsing mode (Mode::Math
orMode::Text
)loc
- Optional source location for error reportingbody
- The expression being overlined
§LaTeX Correspondence
Corresponds to LaTeX overline command:
\overline{ABC}
§Usage
Overline nodes provide visual emphasis for mathematical expressions, commonly used for repeating decimals or special notation.
Fields§
§mode: Mode
The parsing mode (Mode::Math
or Mode::Text
)
loc: Option<SourceLocation>
Optional source location for error reporting
body: Box<AnyParseNode>
The expression being overlined
Trait Implementations§
Source§impl Clone for ParseNodeOverline
impl Clone for ParseNodeOverline
Source§fn clone(&self) -> ParseNodeOverline
fn clone(&self) -> ParseNodeOverline
Returns a duplicate of the value. Read more
1.0.0 · 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 ParseNodeOverline
impl Debug for ParseNodeOverline
Source§impl PartialEq for ParseNodeOverline
impl PartialEq for ParseNodeOverline
impl StructuralPartialEq for ParseNodeOverline
Auto Trait Implementations§
impl Freeze for ParseNodeOverline
impl RefUnwindSafe for ParseNodeOverline
impl Send for ParseNodeOverline
impl Sync for ParseNodeOverline
impl Unpin for ParseNodeOverline
impl UnwindSafe for ParseNodeOverline
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