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.
- ClassId
classes
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
- A trait to allow classes to choose there borrowing implementation.
- A trait for classes for tracing references to quickjs objects.