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
Renders the template to the given writer buffer
Provides a conservative estimate of the expanded length of the rendered template
Auto Trait Implementations
impl<'a> RefUnwindSafe for ItemVars<'a>
impl<'a> UnwindSafe for ItemVars<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn dyn_render(&self) -> Result<String, Error>
pub fn dyn_render(&self) -> Result<String, Error>
Helper method which allocates a new String and renders into it
pub fn dyn_render_into(&self, writer: &mut dyn Write) -> Result<(), Error>
pub fn dyn_render_into(&self, writer: &mut dyn Write) -> Result<(), Error>
Renders the template to the given writer buffer
pub fn vzip(self) -> V
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