Struct table_extract::Table [] [src]

pub struct Table { /* fields omitted */ }

A parsed HTML table.

See the module level documentation for more.

Methods

impl Table
[src]

Finds the first table in html.

Finds the table in html with an id of id.

Finds the table in html whose first row contains all of the headers specified in headers. The order does not matter.

If headers is empty, this is the same as find_first.

Returns the headers of the table.

This will be empty if the table had no <th> tags in its first row. See Headers for more.

Returns an iterator over the Rows of the table.

Only <td> cells are considered when generating rows. If the first row of the table is a header row, meaning it contains at least one <th> cell, the iterator will start on the second row. Use headers to access the header row in that case.

Trait Implementations

impl Debug for Table
[src]

Formats the value using the given formatter.

impl Eq for Table
[src]

impl PartialEq for Table
[src]

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

This method tests for !=.

impl<'a> IntoIterator for &'a Table
[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