pub struct MathBlock {
pub type_: MathBlock_,
pub text: String,
pub errors: Option<Vec<String>>,
pub id: Option<Box<String>>,
pub label: Option<Box<String>>,
pub math_language: Option<Box<String>>,
}
Expand description
A block of math, e.g an equation, to be treated as block content.
Fields§
§type_: MathBlock_
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.
label: Option<Box<String>>
A short label for the math block.
math_language: Option<Box<String>>
The language used for the equation e.g tex, mathml, asciimath.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MathBlock
impl<'de> Deserialize<'de> for MathBlock
Source§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
Auto Trait Implementations§
impl Freeze for MathBlock
impl RefUnwindSafe for MathBlock
impl Send for MathBlock
impl Sync for MathBlock
impl Unpin for MathBlock
impl UnwindSafe for MathBlock
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