pub trait ExtraProps {
// Required methods
fn extra_props(&self) -> &HashMap<String, JsValue>;
fn extra_props_mut(&mut self) -> &mut HashMap<String, JsValue>;
fn with_extra_props(self, extra_props: HashMap<String, JsValue>) -> Self;
}
Required Methods§
fn extra_props(&self) -> &HashMap<String, JsValue>
fn extra_props_mut(&mut self) -> &mut HashMap<String, JsValue>
fn with_extra_props(self, extra_props: HashMap<String, JsValue>) -> Self
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.