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.
pub trait Surjection<X, Y> {
fn map(&self, from: X) -> Y;
}Trait for types that implement a mapping from values of one set onto another.