pub trait DisplayWithContext<C: ?Sized> {
    // Required method
    fn fmt_with(&self, context: &C, f: &mut Formatter<'_>) -> Result;
}

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl<'a, T: DisplayWithContext<C> + ?Sized, C> DisplayWithContext<C> for &'a T

source§

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

source§

impl<'a, T: DisplayWithContext<C> + ToOwned + ?Sized, C> DisplayWithContext<C> for Cow<'a, T>

source§

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

Implementors§