pub struct JsObject {
pub properties: BTreeMap<String, JsValue>,
pub prototype: Option<ObjectId>,
pub internal_type: ObjectType,
}Expand description
A JavaScript object stored in the arena
Fields§
§properties: BTreeMap<String, JsValue>Properties
prototype: Option<ObjectId>Prototype (arena index)
internal_type: ObjectTypeInternal type
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsObject
impl RefUnwindSafe for JsObject
impl Send for JsObject
impl Sync for JsObject
impl Unpin for JsObject
impl UnwindSafe for JsObject
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)