Skip to main content

TeX

Trait TeX 

Source
pub trait TeX {
    // Required methods
    fn tex_math_symbol() -> String;
    fn tex_string(&self) -> String;
}
Expand description

Types that can be rendered as LaTeX math.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TeX for BigInt

Source§

impl TeX for i32

Source§

impl TeX for i64

Source§

impl TeX for i128

Implementors§

Source§

impl TeX for FF2

Source§

impl<T> TeX for Ratio<T>
where T: TeX + MathType,

Source§

impl<X, R> TeX for PolyBase<X, R>
where X: Mono + TeX, R: Ring + TeX, for<'x> &'x R: RingOps<R>,

Source§

impl<const X: char, I> TeX for MultiVar<X, I>
where I: ToPrimitive,

Source§

impl<const X: char, I> TeX for Var<X, I>
where I: ToPrimitive,

Source§

impl<const X: char, const Y: char, I> TeX for Var2<X, Y, I>
where I: ToPrimitive,

Source§

impl<const X: char, const Y: char, const Z: char, I> TeX for Var3<X, Y, Z, I>
where I: ToPrimitive,

Source§

impl<const p: i32> TeX for FF<p>