pub struct Table {
    pub data: Vec<Vec<String>>,
    /* private fields */
}

Fields

data: Vec<Vec<String>>

Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

Converts a value into a Spanned value

Converts a value into a Spanned value, using an unknown Span

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.