pub trait MapParsed<T, R> {
type Output: Clone + Debug;
// Required method
fn map_parsed<F>(self, f: F) -> Self::Output
where F: FnOnce(T) -> R;
}
Expand description
Allows to map Self
over some parsed.
Required Associated Types§
Required Methods§
fn map_parsed<F>(self, f: F) -> Self::Outputwhere
F: FnOnce(T) -> R,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.