Trait Map

Source
pub trait Map: Pack + Instance<MapClass> {
    // Provided method
    fn chain<M: Map>(self, other: M) -> Chain<Self, M> { ... }
}
Expand description

Some invertible mapping that could be applied to vectors.

Provided Methods§

Source

fn chain<M: Map>(self, other: M) -> Chain<Self, M>

Create a new mapping where this one is followed by another one.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<F: Map, S: Map> Map for Chain<F, S>