Struct rustdoc::html::render::Item[][src]

struct Item<'a> {
    cx: &'a Context,
    item: &'a Item,
}

Fields

Methods

impl<'a> Item<'a>
[src]

Generate a url appropriate for an href attribute back to the source of this item.

The url generated, when clicked, will redirect the browser back to the original source code.

If None is returned, then a source link couldn't be generated. This may happen, for example, with externally inlined items where the source of their crate documentation isn't known.

Trait Implementations

impl<'a> Copy for Item<'a>
[src]

impl<'a> Clone for Item<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Display for Item<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> !Send for Item<'a>

impl<'a> !Sync for Item<'a>