Skip to main content

InterpolationKind

Trait InterpolationKind 

Source
pub trait InterpolationKind {
    type Output<T>: Interpolation<T>
       where T: Clone;
}
Expand description

A kind of Interpolation.

Interpolation kinds are nominal type constructors. The Output GAT provides a mapping from a kind (with no type parameters) to a generic type constructor for a parameterized type. For example, the LastSample kind has LastSampleOutput as its associated output type.

Required Associated Types§

Source

type Output<T>: Interpolation<T> where T: Clone

The parameterized Interpolation associated with this kind.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§