Module spectra::spline [] [src]

Structs

Key

A spline control point.

Spline

Spline curve used to provide interpolation between control points (keys).

SplineIterator

Iterator over spline keys.

Enums

Interpolation

Interpolation mode.

Traits

Interpolate

Keys that can be interpolated in between. Implementing this trait is required to perform sampling on splines.

SplineDeserializerAdapter

Spline deserializer adapter used to deserialize splines which keys’ values types don’t directly implement deserialization.

Functions

cubic_hermite
normalize_time

Type Definitions

Time

Time used as sampling type in splines.