Trait spaces::Surjection [] [src]

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

A trait for types implementing a mapping from values of one set onto another.

Required Methods

Map value from domain onto codomain.

Implementors