Trait rquickjs_core::IntoJs
source · pub trait IntoJs<'js> {
// Required method
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§
source§impl<'js> IntoJs<'js> for SystemTime
impl<'js> IntoJs<'js> for SystemTime
source§impl<'js, K, V, S> IntoJs<'js> for &IndexMap<K, V, S>
Available on crate feature indexmap
only.
impl<'js, K, V, S> IntoJs<'js> for &IndexMap<K, V, S>
Available on crate feature
indexmap
only.Convert from Rust index map to JS object
source§impl<'js, K, V, S> IntoJs<'js> for IndexMap<K, V, S>
Available on crate feature indexmap
only.
impl<'js, K, V, S> IntoJs<'js> for IndexMap<K, V, S>
Available on crate feature
indexmap
only.Convert from Rust index map to JS object
source§impl<'js, L, R> IntoJs<'js> for &Either<L, R>
Available on crate feature either
only.
impl<'js, L, R> IntoJs<'js> for &Either<L, R>
Available on crate feature
either
only.Convert the either into JS
source§impl<'js, L, R> IntoJs<'js> for Either<L, R>
Available on crate feature either
only.
impl<'js, L, R> IntoJs<'js> for Either<L, R>
Available on crate feature
either
only.Convert the either into JS
source§impl<'js, T> IntoJs<'js> for &LinkedList<T>
impl<'js, T> IntoJs<'js> for &LinkedList<T>
Convert from Rust linked list to JS array
source§impl<'js, T> IntoJs<'js> for BTreeSet<T>where
T: IntoJs<'js>,
impl<'js, T> IntoJs<'js> for BTreeSet<T>where
T: IntoJs<'js>,
Convert from Rust btree set to JS array
source§impl<'js, T> IntoJs<'js> for LinkedList<T>where
T: IntoJs<'js>,
impl<'js, T> IntoJs<'js> for LinkedList<T>where
T: IntoJs<'js>,
Convert from Rust linked list to JS array
source§impl<'js, T> IntoJs<'js> for VecDeque<T>where
T: IntoJs<'js>,
impl<'js, T> IntoJs<'js> for VecDeque<T>where
T: IntoJs<'js>,
Convert from Rust vector deque to JS array
source§impl<'js, T, S> IntoJs<'js> for &IndexSet<T, S>
Available on crate feature indexmap
only.
impl<'js, T, S> IntoJs<'js> for &IndexSet<T, S>
Available on crate feature
indexmap
only.Convert from Rust index set to JS array
source§impl<'js, T, S> IntoJs<'js> for HashSet<T, S>where
T: IntoJs<'js>,
impl<'js, T, S> IntoJs<'js> for HashSet<T, S>where
T: IntoJs<'js>,
Convert from Rust hash set to JS array
source§impl<'js, T, S> IntoJs<'js> for IndexSet<T, S>where
T: IntoJs<'js>,
Available on crate feature indexmap
only.
impl<'js, T, S> IntoJs<'js> for IndexSet<T, S>where
T: IntoJs<'js>,
Available on crate feature
indexmap
only.Convert from Rust index set to JS array
Implementors§
impl<'js> IntoJs<'js> for &Value<'js>
impl<'js> IntoJs<'js> for Array<'js>
impl<'js> IntoJs<'js> for Constructor<'js>
impl<'js> IntoJs<'js> for Function<'js>
impl<'js> IntoJs<'js> for Object<'js>
impl<'js> IntoJs<'js> for ArrayBuffer<'js>
impl<'js> IntoJs<'js> for BigInt<'js>
impl<'js> IntoJs<'js> for Exception<'js>
impl<'js> IntoJs<'js> for Null
impl<'js> IntoJs<'js> for rquickjs_core::String<'js>
impl<'js> IntoJs<'js> for Symbol<'js>
impl<'js> IntoJs<'js> for Undefined
impl<'js> IntoJs<'js> for Value<'js>
impl<'js, A> IntoJs<'js> for List<(A,)>where
A: IntoJs<'js>,
impl<'js, A, B> IntoJs<'js> for List<(A, B)>
impl<'js, A, B, C> IntoJs<'js> for List<(A, B, C)>
impl<'js, A, B, C, D> IntoJs<'js> for List<(A, B, C, D)>
impl<'js, A, B, C, D, E> IntoJs<'js> for List<(A, B, C, D, E)>
impl<'js, A, B, C, D, E, F> IntoJs<'js> for List<(A, B, C, D, E, F)>
impl<'js, A, B, C, D, E, F, G> IntoJs<'js> for List<(A, B, C, D, E, F, G)>
impl<'js, A, B, C, D, E, F, G, H> IntoJs<'js> for List<(A, B, C, D, E, F, G, H)>
impl<'js, A, B, C, D, E, F, G, H, I> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I)>
impl<'js, A, B, C, D, E, F, G, H, I, J> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I, J)>
impl<'js, A, B, C, D, E, F, G, H, I, J, K> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I, J, K)>
impl<'js, A, B, C, D, E, F, G, H, I, J, K, L> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I, J, K, L)>
impl<'js, A, B, C, D, E, F, G, H, I, J, K, L, M> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I, J, K, L, M)>
impl<'js, A, B, C, D, E, F, G, H, I, J, K, L, M, N> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)>
impl<'js, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)>
impl<'js, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> IntoJs<'js> for List<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)>
impl<'js, C: JsClass<'js>> IntoJs<'js> for Class<'js, C>
impl<'js, T> IntoJs<'js> for Persistent<T>
impl<'js, T> IntoJs<'js> for TypedArray<'js, T>
impl<'js, T, P> IntoJs<'js> for Func<T, P>where
T: IntoJsFunc<'js, P> + 'js,
impl<'js, T, R> IntoJs<'js> for Promised<T>
Available on crate feature
futures
only.