Enum pandoc_ast::MathType [] [src]

pub enum MathType {
    DisplayMath,
    InlineMath,
}

Type of math element (display or inline).

Variants

DisplayMathInlineMath

Trait Implementations

impl Debug for MathType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deserialize for MathType
[src]

fn deserialize<__D>(deserializer: &mut __D) -> Result<MathType, __D::Error> where __D: Deserializer

Deserialize this value given this Deserializer.

impl Serialize for MathType
[src]

fn serialize<S>(&self, ser: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.