pub enum MathNode {
Apply(Vec<MathNode>),
Op(BuiltinOp),
Text(String),
Root(Vec<MathNode>),
Ci(Vec<MathNode>),
Csymbol {
definition_url: String,
encoding: Option<String>,
children: Vec<MathNode>,
},
Cn {
num_type: NumType,
base: u32,
definition_url: Option<String>,
encoding: Option<String>,
attributes: Option<HashMap<String, String>>,
},
Comment(String),
PI(String, Option<String>),
}
Variants§
Apply(Vec<MathNode>)
Op(BuiltinOp)
Text(String)
Root(Vec<MathNode>)
Ci(Vec<MathNode>)
Csymbol
Cn
Fields
Comment(String)
PI(String, Option<String>)
Trait Implementations§
impl Eq for MathNode
impl StructuralPartialEq for MathNode
Auto Trait Implementations§
impl Freeze for MathNode
impl RefUnwindSafe for MathNode
impl Send for MathNode
impl Sync for MathNode
impl Unpin for MathNode
impl UnwindSafe for MathNode
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