Struct rustdoc::html::format::HRef [] [src]

pub struct HRef<'a> {
    pub did: DefId,
    pub text: &'a str,
}
Unstable (rustdoc)

Fields

did: DefId
Unstable (rustdoc)
text: &'a str
Unstable (rustdoc)

Methods

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

fn new(did: DefId, text: &'a str) -> HRef<'a>

Trait Implementations

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

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.