pub struct VecRecords<T> { /* private fields */ }
Expand description

The structure represents a Records implementation as an pre built vector of cells.

Implementations

Builds a structure instance from an iterator.

Builds a structure instance with using an exact columns length.

WARNING: You must verify that provided records contains is bigger than or eqaull than provided hint value.

Returns a shape of Records.

Returns a count of rows.

Returns a count of columns.

Truncates columns to the given length.

Creates a column with a given cell.

The cell will be cloned.

Takes a row index and pushes the cloned row to the end.

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
Returns the “default value” for a type. Read more
Converts to this type from the input type.
The returned type after indexing.
Performs the indexing (container[index]) operation. Read more
Performs the mutable indexing (container[index]) operation. Read more
Returns amount of rows on a grid.
Returns amount of columns on a grid.
Returns a text of a cell by an index.
Returns a line of a text of a cell by an index.
Returns a width of a text of a cell by an index.
Returns a width of line of a text of a cell by an index.
Returns an amount of lines of a text of a cell by an index.
Prints a prefix of a text of a cell by an index. Read more
Prints a suffix of a text of a cell by an index. Read more
Sets a text to a given cell by index.
Updates a given cell by index. Read more
Swap cells with one another.
Swap rows with one another.
Swap columns with one another.
Adds a new row to a data set.
Adds a new column to a data set.
Removes a row from a data set by index.
Removes a column from a data set by index.
Inserts a row to specific by row index.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.