Module rquickjs_core::prelude

source ·
Expand description

A group of often used types.

Re-exports§

  • pub use crate::context::Ctx;

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 IntoJsFunc 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. Implements 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 parameters.
  • Promisefutures
    A JavaScript promise.
  • Promisedfutures
    Wrapper for futures to convert to JS promises
  • Helper type for rest and spread arguments.
  • helper type for working setting and retrieving this values.

Traits§