pub trait IntoJs<'js> {
    fn into_js(self, ctx: Ctx<'js>) -> Result<Value<'js>>;
}
Expand description

For converting rust values to javascript values

Required Methods

Implementations on Foreign Types

Convert the either into JS

Convert the either into JS

Convert from Rust vector to JS array

Convert from Rust vector to JS array

Convert from Rust vector deque to JS array

Convert from Rust vector deque to JS array

Convert from Rust linked list to JS array

Convert from Rust linked list to JS array

Convert from Rust hash set to JS array

Convert from Rust hash set to JS array

Convert from Rust btree set to JS array

Convert from Rust btree set to JS array

Convert from Rust index set to JS array

Convert from Rust index set to JS array

Convert from Rust hash map to JS object

Convert from Rust hash map to JS object

Convert from Rust btree map to JS object

Convert from Rust btree map to JS object

Convert from Rust index map to JS object

Convert from Rust index map to JS object

Implementors