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.

Returns [None] if there is no table.

Finds the table in html with an id of id.

Returns [None] if there is no such table.

Finds the table in html that has a <th> header for each of the strings in headers in its first row.

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

Returns [None] if there is no such table.

Returns the table headers.

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

Returns an iterator over the rows of the table.

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