Struct rust_rocket::track::Track

source ·
pub struct Track { /* private fields */ }
Expand description

The Track Type. This is a collection of Keys with a name.

Implementations

Construct a new Track with a name.

Get the name of the track.

Insert or update a key on a track.

Delete a key from a track.

If a key does not exist this will do nothing.

Get a value based on a row.

The row can be between two integers. This will perform the required interpolation.

Trait Implementations

Formats the value using the given formatter. Read more

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 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.