Struct select::document::Document [] [src]

pub struct Document {
    pub nodes: Vec<Raw>,
}

An HTML document.

Fields

Methods

impl Document
[src]

Returns a Selection containing nodes passing the given predicate p.

Returns the nth node of the document as a Some(Node), indexed from 0, or None if n is greater than or equal to the number of nodes.

Trait Implementations

impl Clone for Document
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Document
[src]

Formats the value using the given formatter.

impl PartialEq for Document
[src]

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

This method tests for !=.

impl From<StrTendril> for Document
[src]

Parses the given StrTendril into a Document.

impl<'a> From<&'a str> for Document
[src]

Parses the given &str into a Document.