Struct rustdoc_seeker::RustDoc[][src]

pub struct RustDoc { /* fields omitted */ }

RustDoc contains DocItems, which could be convert to RustDocSeeker.

Example

let data = fs::read_to_string("search-index.js").unwrap();
let rustdoc: RustDoc = data.parse().unwrap();

// let's combine RustDoc
rustdoc_a.extend(rustdoc_b)

Methods

impl RustDoc
[src]

Build an index for searching

Trait Implementations

impl FromStr for RustDoc
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Debug for RustDoc
[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

impl IntoIterator for RustDoc
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

impl Send for RustDoc

impl Sync for RustDoc