pub trait ConvertVec<Out> {
type ItemIn;
// Required methods
fn convert_owned<F: FnMut(Self::ItemIn) -> Out>(self, f: F) -> Vec<Out>;
fn convert<F: FnMut(&Self::ItemIn) -> Out>(&self, f: F) -> Vec<Out>;
}
Required Associated Types§
Required Methods§
fn convert_owned<F: FnMut(Self::ItemIn) -> Out>(self, f: F) -> Vec<Out>
fn convert<F: FnMut(&Self::ItemIn) -> Out>(&self, f: F) -> Vec<Out>
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.