PrintWithContext

Trait PrintWithContext 

Source
pub trait PrintWithContext<C> {
    // Required method
    fn contextual_fmt_with(
        &self,
        context: &C,
        f: &mut Formatter<'_>,
        options: &Options,
        indent: usize,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn contextual_fmt_with( &self, context: &C, f: &mut Formatter<'_>, options: &Options, indent: usize, ) -> Result<(), Error>

Implementations on Foreign Types§

Source§

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

Source§

fn contextual_fmt_with( &self, context: &C, f: &mut Formatter<'_>, options: &Options, indent: usize, ) -> Result<(), Error>

Source§

impl<T, C> PrintWithContext<C> for Stripped<T>
where T: PrintWithContext<C>,

Source§

fn contextual_fmt_with( &self, context: &C, f: &mut Formatter<'_>, options: &Options, indent: usize, ) -> Result<(), Error>

Source§

impl<T, M, C> PrintWithContext<C> for Meta<T, M>
where T: PrintWithContext<C>,

Source§

fn contextual_fmt_with( &self, context: &C, f: &mut Formatter<'_>, options: &Options, indent: usize, ) -> Result<(), Error>

Implementors§

Source§

impl<'a, T, N> PrintWithContext<N> for TypeRef<'a, T>
where N: IriVocabulary<Iri = T>,

Source§

impl<T, B, N> PrintWithContext<N> for Id<T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<T, B, N> PrintWithContext<N> for ExpandedDocument<T, B>
where N: Vocabulary<Iri = T, BlankId = B>,

Source§

impl<T, B, N> PrintWithContext<N> for Node<T, B>
where N: Vocabulary<Iri = T, BlankId = B>,