pub trait PrettyCondition {
// Required method
fn span(&self) -> Span;
// Provided method
fn pretty_print(&self, _w: &mut impl Write) -> Result { ... }
}Required Methods§
Provided Methods§
fn pretty_print(&self, _w: &mut impl Write) -> Result
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.