Trait ExtraProps

Source
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§

Source

fn extra_props(&self) -> &HashMap<String, JsValue>

Source

fn extra_props_mut(&mut self) -> &mut HashMap<String, JsValue>

Source

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.

Implementors§