rustdoc::html::render::print_item

Trait ItemTemplate

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

Required Methods§

Source

fn item_and_mut_cx(&self) -> (&'a Item, RefMut<'_, &'a mut 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§