Enum mathml_core::MathML
source · pub enum MathML {
Show 24 variants
Root(Box<MathRoot>),
Row(Box<MathRow>),
Space(Box<MathSpace>),
Number(Box<MathNumber>),
Identifier(Box<MathIdentifier>),
Text(Box<MathText>),
Operator(Box<MathOperator>),
MultiScripts(Box<MathMultiScript>),
UnderOver(Box<MathUnderOver>),
Function(Box<MathFunction>),
OverOp(char, Accent, Box<MathML>),
UnderOp(char, Accent, Box<MathML>),
Sqrt(Box<MathSqrt>),
Frac(Box<MathFraction>),
Phantom(Box<MathPhantom>),
Style(Box<MathStyle>),
Fenced(Box<MathFenced>),
StrechedOp(bool, String),
SizedParen {
size: &'static str,
paren: &'static str,
},
Table(Box<MathTable>),
Slashed(Box<MathML>),
Undefined(String),
Ampersand,
NewLine,
}
Expand description
AST node
Variants§
Root(Box<MathRoot>)
Row(Box<MathRow>)
Space(Box<MathSpace>)
Number(Box<MathNumber>)
Identifier(Box<MathIdentifier>)
Text(Box<MathText>)
Operator(Box<MathOperator>)
MultiScripts(Box<MathMultiScript>)
<msub>
/ <msup>
/ <msubsup>
/ <mmultiscripts>
UnderOver(Box<MathUnderOver>)
Function(Box<MathFunction>)
OverOp(char, Accent, Box<MathML>)
UnderOp(char, Accent, Box<MathML>)
Sqrt(Box<MathSqrt>)
Frac(Box<MathFraction>)
Phantom(Box<MathPhantom>)
Style(Box<MathStyle>)
Fenced(Box<MathFenced>)
StrechedOp(bool, String)
SizedParen
Table(Box<MathTable>)
Slashed(Box<MathML>)
Undefined(String)
Ampersand
NewLine
Implementations§
Trait Implementations§
source§impl From<MathFenced> for MathML
impl From<MathFenced> for MathML
source§fn from(value: MathFenced) -> Self
fn from(value: MathFenced) -> Self
Converts to this type from the input type.
source§impl From<MathFraction> for MathML
impl From<MathFraction> for MathML
source§fn from(value: MathFraction) -> Self
fn from(value: MathFraction) -> Self
Converts to this type from the input type.
source§impl From<MathFunction> for MathML
impl From<MathFunction> for MathML
source§fn from(value: MathFunction) -> Self
fn from(value: MathFunction) -> Self
Converts to this type from the input type.
source§impl From<MathIdentifier> for MathML
impl From<MathIdentifier> for MathML
source§fn from(value: MathIdentifier) -> Self
fn from(value: MathIdentifier) -> Self
Converts to this type from the input type.
source§impl From<MathMultiScript> for MathML
impl From<MathMultiScript> for MathML
source§fn from(value: MathMultiScript) -> Self
fn from(value: MathMultiScript) -> Self
Converts to this type from the input type.
source§impl From<MathNumber> for MathML
impl From<MathNumber> for MathML
source§fn from(value: MathNumber) -> Self
fn from(value: MathNumber) -> Self
Converts to this type from the input type.
source§impl From<MathOperator> for MathML
impl From<MathOperator> for MathML
source§fn from(value: MathOperator) -> Self
fn from(value: MathOperator) -> Self
Converts to this type from the input type.
source§impl From<MathPhantom> for MathML
impl From<MathPhantom> for MathML
source§fn from(value: MathPhantom) -> Self
fn from(value: MathPhantom) -> Self
Converts to this type from the input type.
source§impl From<MathUnderOver> for MathML
impl From<MathUnderOver> for MathML
source§fn from(value: MathUnderOver) -> Self
fn from(value: MathUnderOver) -> Self
Converts to this type from the input type.
source§impl PartialEq<MathML> for MathML
impl PartialEq<MathML> for MathML
impl StructuralPartialEq for MathML
Auto Trait Implementations§
impl RefUnwindSafe for MathML
impl Send for MathML
impl Sync for MathML
impl Unpin for MathML
impl UnwindSafe for MathML
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