Trait OptionsTrait

Source
pub trait OptionsTrait {
    // Provided methods
    fn new() -> Self
       where Self: JsCast { ... }
    fn initialize(self) -> Self
       where Self: JsCast { ... }
    fn set(self, key: &str, value: JsValue) -> Self
       where Self: JsCast { ... }
}

Provided Methods§

Source

fn new() -> Self
where Self: JsCast,

“Construct a new Options.

Source

fn initialize(self) -> Self
where Self: JsCast,

Source

fn set(self, key: &str, value: JsValue) -> Self
where Self: JsCast,

Implementors§