Trait json_ld::Print

source ·
pub trait Print {
    fn fmt_with(
        &self,
        f: &mut Formatter<'_>,
        options: &Options,
        indent: usize
    ) -> Result<(), Error>; fn pretty_print(&self) -> Printed<'_, Self> { ... } fn compact_print(&self) -> Printed<'_, Self> { ... } fn inline_print(&self) -> Printed<'_, Self> { ... } fn print_with(&self, options: Options) -> Printed<'_, Self> { ... } }
Expand description

Print methods.

Required Methods§

Provided Methods§

Print the value with Options::pretty options.

Print the value with Options::compact options.

Print the value with Options::inline options.

Print the value with the given options.

Implementations on Foreign Types§

Implementors§