Struct stencila_schema::Math [−][src]
pub struct Math {
pub type_: Math_,
pub text: String,
pub errors: Option<Vec<String>>,
pub id: Option<Box<String>>,
pub math_language: Option<Box<String>>,
}
Expand description
A mathematical variable or equation.
Fields
type_: Math_
The name of this type
text: String
The text of the equation in the language.
errors: Option<Vec<String>>
Errors that occurred when parsing the math equation.
id: Option<Box<String>>
The identifier for this item.
math_language: Option<Box<String>>
The language used for the equation e.g tex, mathml, asciimath.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Math
impl UnwindSafe for Math
Blanket Implementations
Mutably borrows from an owned value. Read more