Expand description
JavaScript classes defined from Rust.
Structs§
- Borrow
- A borrow guard for a borrowed class.
- Borrow
Mut - A borrow guard for a mutably borrowed class.
- Class
- A object which is instance of a Rust class.
- JsCell
- A cell type for Rust classes passed to JavaScript.
- Owned
Borrow - An owned borrow of a class object which keeps the borrow alive for the duration of the objects lifetime.
- Owned
Borrow Mut - An owned mutable borrow of a class object which keeps the borrow alive for the duration of the objects lifetime.
- Tracer
- An object used for tracing references
Enums§
- Readable
- 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. - Writable
- 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§
- JsClass
- The trait which allows Rust types to be used from JavaScript.
- Mutability
- A trait to allow classes to choose there borrowing implementation.
- Trace
- A trait for classes for tracing references to QuickJS objects.
Derive Macros§
- Trace
macro
- A macro for auto deriving the trace trait.