pub struct Math {
pub span: Option<Span>,
pub value: String,
pub display: bool,
}Expand description
See Node::Math.
Fields§
§span: Option<Span>Where this node came from in the source, if known.
value: StringThe formula, e.g. in TeX notation.
display: boolWhether it is set on its own line rather than inline.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Math
impl<'de> Deserialize<'de> for Math
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
impl StructuralPartialEq for Math
Auto Trait Implementations§
impl Forget for Math
impl Freeze for Math
impl Move for Math
impl RefUnwindSafe for Math
impl Send for Math
impl Sync for Math
impl Unpin for Math
impl UnsafeUnpin for Math
impl UnwindSafe for Math
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