mz_repr::explain::dot

Trait DisplayDot

Source
pub trait DisplayDot<C = ()>
where Self: Sized,
{ // Required method fn fmt_dot(&self, f: &mut Formatter<'_>, ctx: &mut C) -> Result; }
Expand description

A trait implemented by explanation types that can be rendered as ExplainFormat::Dot.

Required Methods§

Source

fn fmt_dot(&self, f: &mut Formatter<'_>, ctx: &mut C) -> 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.

Implementations on Foreign Types§

Source§

impl<A, C> DisplayDot<C> for Option<A>
where A: DisplayDot<C>,

Source§

fn fmt_dot(&self, f: &mut Formatter<'_>, ctx: &mut C) -> Result

Source§

impl<A, C> DisplayDot<C> for Box<A>
where A: DisplayDot<C>,

Source§

fn fmt_dot(&self, f: &mut Formatter<'_>, ctx: &mut C) -> Result

Implementors§