Trait Mapper

Source
pub trait Mapper<T> {
    // Required method
    fn to(&self) -> T;
}
Expand description

Trait defining a mapper converting itself to a destination Type of T

Required Methods§

Source

fn to(&self) -> T

Implementors§