Module rquickjs_core::class

source ·
Expand description

JavaScript classes defined from Rust.

Structs§

  • A borrow guard for a borrowed class.
  • A borrow guard for a mutably borrowed class.
  • A object which is instance of a Rust class.
  • The type of identifier of class
  • A cell type for Rust classes passed to JavaScript.
  • An owned borrow of a class object which keeps the borrow alive for the duration of the objects lifetime.
  • An owned mutable borrow of a class object which keeps the borrow alive for the duration of the objects lifetime.
  • An object used for tracing references

Enums§

  • A marker type used for marking the mutability of a class. When a class has Readable as it Mutable type you can only borrow it immutable.
  • A marker type used for marking the mutability of a class. When a class has Writable as it Mutable type you can borrow it both mutability and immutable.

Traits§

  • The trait which allows Rust types to be used from JavaScript.
  • A trait to allow classes to choose there borrowing implementation.
  • A trait for classes for tracing references to QuickJS objects.