Trait genet_abi::cast::Map [−][src]
pub trait Map where
Self: Sized, { fn map<I, R, F>(self, func: F) -> Mapped<Self, I, R, F>
where
Self: Typed<Output = I>,
I: Into<Variant>,
R: Into<Variant>,
F: Fn(I) -> R + Clone, { ... } }
Mappable cast trait.
Provided Methods
fn map<I, R, F>(self, func: F) -> Mapped<Self, I, R, F> where
Self: Typed<Output = I>,
I: Into<Variant>,
R: Into<Variant>,
F: Fn(I) -> R + Clone,
Self: Typed<Output = I>,
I: Into<Variant>,
R: Into<Variant>,
F: Fn(I) -> R + Clone,