pub trait TexError: Debug {
// Required methods
fn kind(&self) -> Kind<'_>;
fn title(&self) -> String;
// Provided methods
fn notes(&self) -> Vec<Note<'_>> { ... }
fn source_annotation(&self) -> String { ... }
fn default_source_annotation(&self) -> String { ... }
}Required Methods§
Provided Methods§
fn notes(&self) -> Vec<Note<'_>>
fn source_annotation(&self) -> String
fn default_source_annotation(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".