Trait CloneShallowNativeFunctions

Source
pub trait CloneShallowNativeFunctions<'a> {
    // Required method
    fn clone_shallow(&self) -> HashMap<Cow<'a, str>, NativeFunction<'a>>;
}
Expand description

Helper trait to allow shallow cloning of HashMap<String, NativeFunction>

Required Methods§

Implementations on Foreign Types§

Source§

impl<'a> CloneShallowNativeFunctions<'a> for HashMap<Cow<'a, str>, NativeFunction<'a>>

Implementors§