pub struct JSClass {
pub raw: JSClassRef,
}Expand description
A JavaScript class.
Used with JSObjectMake to construct objects with custom
behavior.
TODO: Fix JSObjectMake reference once it has been wrapped.
Fields§
§raw: JSClassRefTrait Implementations§
Auto Trait Implementations§
impl Freeze for JSClass
impl RefUnwindSafe for JSClass
impl !Send for JSClass
impl !Sync for JSClass
impl Unpin for JSClass
impl UnwindSafe for JSClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more