Struct rustdoc_seeker::DocItem[][src]

pub struct DocItem {
    pub name: TypeItem,
    pub parent: Option<TypeItem>,
    pub path: Atom,
    pub desc: Atom,
}

DocItem represent a searchable item, Use Display to get the relative URI of the item

eg:

The dedup (name) function of the Vec(parent) struct in std::vec(path) module.

The Vec(name) struct of None(parent) in std::vec(path) module.

The vec(name) module of None(parent) in std(path) module.

Example

println!("{} is the url of {:?}", &docitem, &docitem)

Fields

Methods

impl DocItem
[src]

Trait Implementations

impl Debug for DocItem
[src]

Formats the value using the given formatter. Read more

impl Eq for DocItem
[src]

impl PartialEq for DocItem
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for DocItem
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for DocItem
[src]

Formats the value using the given formatter. Read more

impl Extend<DocItem> for RustDoc
[src]

Extends a collection with the contents of an iterator. Read more

impl FromIterator<DocItem> for RustDoc
[src]

Creates a value from an iterator. Read more

Auto Trait Implementations

impl Send for DocItem

impl Sync for DocItem