Skip to main content

PrettyCondition

Trait PrettyCondition 

Source
pub trait PrettyCondition {
    // Required method
    fn span(&self) -> Span;

    // Provided method
    fn pretty_print(&self, _w: &mut impl Write) -> Result { ... }
}

Required Methods§

Source

fn span(&self) -> Span

Provided Methods§

Source

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.

Implementors§