Trait spaces::Surjection

source ·
pub trait Surjection<X, Y> {
    fn map(&self, from: X) -> Y;
}
Expand description

Trait for types that implement a mapping from values of one set onto another.

Required Methods§

Map value from domain onto codomain.

Implementors§