pub trait FormattedOutput: Sized {
// Required methods
fn is_alpha(&self) -> bool;
fn ocaml(&self, cache: &mut HashMap<CacheId, Self>) -> String;
fn latex(&self, cache: &mut HashMap<CacheId, Self>) -> String;
fn text(&self, cache: &mut HashMap<CacheId, Self>) -> String;
}
Required Methods§
fn is_alpha(&self) -> bool
fn ocaml(&self, cache: &mut HashMap<CacheId, Self>) -> String
fn latex(&self, cache: &mut HashMap<CacheId, Self>) -> String
fn text(&self, cache: &mut HashMap<CacheId, Self>) -> String
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.