pub trait Latexify {
type Context;
// Required method
fn fmt<W: Write>(&self, c: &Self::Context, f: &mut W) -> Result;
// Provided method
fn to_latex(&self, config: &Self::Context) -> String { ... }
}
Expand description
A trait for LaTeX representation.
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.