Module rquickjs_core::prelude

source ·
Expand description

A group of often used types.

Re-exports

  • pub use crate::promise::Promise;
    futures
  • pub use crate::promise::Promised;
    futures

Structs

  • Asyncfutures
    Helper type for creating a function from a closure which returns a future.
  • The wrapper for values to force coercion
  • Helper type for making an parameter set exhaustive.
  • A type to flatten tuples into another tuple.
  • Helper type to implement ToJsFunction for closure by constraining arguments.
  • helper type for retrieving function object on which a function is called..
  • A helper type for turning a tuple into a javascript array. Implementes IntoJs and FromJs for tuples of various lengths
  • Helper type for creating a function from a closure which implements FnMut
  • Helper type for creating a function from a closure which implements FnMut
  • Helper type for optional paramaters.
  • Helper type for rest and spread arguments.
  • helper type for working setting and retrieving this values.

Traits