struct ItemVars<'a> {
    page: &'a Page<'a>,
    static_root_path: &'a str,
    typ: &'a str,
    name: &'a str,
    item_type: &'a str,
    path_components: Vec<PathComponent>,
    stability_since_raw: &'a str,
    src_href: Option<&'a str>,
}

Fields

page: &'a Page<'a>static_root_path: &'a strtyp: &'a strname: &'a stritem_type: &'a strpath_components: Vec<PathComponent>stability_since_raw: &'a strsrc_href: Option<&'a str>

Trait Implementations

Formats the value using the given formatter. Read more
Renders the template to the given writer buffer
The template’s extension, if provided
Provides a conservative estimate of the expanded length of the rendered template
Helper method which allocates a new String and renders into it

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Helper method which allocates a new String and renders into it
Renders the template to the given writer buffer
Helper function to inspect the template’s extension
Provides a conservative estimate of the expanded length of the rendered template

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 128 bytes