rustdoc::html::render::print_item

Trait ItemTemplate

Source
trait ItemTemplate<'a, 'cx: 'a>: Template + Display {
    // Required method
    fn item_and_cx(&self) -> (&'a Item, &'a Context<'cx>);
}

Required Methods§

Source

fn item_and_cx(&self) -> (&'a Item, &'a Context<'cx>)

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.

Implementors§