pub struct ParseNodeLeftRightRight {
pub mode: Mode,
pub loc: Option<SourceLocation>,
pub delim: String,
pub color: Option<String>,
}
Expand description
Represents right delimiters in left-right pairs.
This struct handles the right delimiter in a left-right delimiter pair, allowing for separate styling or coloring.
§Fields
mode
- The parsing mode (Mode::Math
orMode::Text
)loc
- Optional source location for error reportingdelim
- The delimiter symbolcolor
- Optional color specification
§Usage
LeftRightRight nodes handle the right side of delimiter pairs, supporting different styling from the left delimiter.
Fields§
§mode: Mode
The parsing mode (Mode::Math
or Mode::Text
)
loc: Option<SourceLocation>
Optional source location for error reporting
delim: String
The delimiter symbol
color: Option<String>
Optional color specification
Trait Implementations§
Source§impl Clone for ParseNodeLeftRightRight
impl Clone for ParseNodeLeftRightRight
Source§fn clone(&self) -> ParseNodeLeftRightRight
fn clone(&self) -> ParseNodeLeftRightRight
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 ParseNodeLeftRightRight
impl Debug for ParseNodeLeftRightRight
Source§impl PartialEq for ParseNodeLeftRightRight
impl PartialEq for ParseNodeLeftRightRight
impl Eq for ParseNodeLeftRightRight
impl StructuralPartialEq for ParseNodeLeftRightRight
Auto Trait Implementations§
impl Freeze for ParseNodeLeftRightRight
impl RefUnwindSafe for ParseNodeLeftRightRight
impl Send for ParseNodeLeftRightRight
impl Sync for ParseNodeLeftRightRight
impl Unpin for ParseNodeLeftRightRight
impl UnwindSafe for ParseNodeLeftRightRight
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