Trait mz_repr::explain::text::DisplayText

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

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

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

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

source§

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

source§

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

source§

impl<T> DisplayText for &T
where T: DisplayText,

source§

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

Implementors§