Struct rustdoc::html::render::Item [−][src]
Fields
cx: &'a Context
item: &'a Item
Methods
impl<'a> Item<'a>
[src]
impl<'a> Item<'a>
fn src_href(&self) -> Option<String>
[src]
fn src_href(&self) -> Option<String>
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> Copy for Item<'a>
impl<'a> Clone for Item<'a>
[src]
impl<'a> Clone for Item<'a>
fn clone(&self) -> Item<'a>
[src]
fn clone(&self) -> Item<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Display for Item<'a>
[src]
impl<'a> Display for Item<'a>