Struct neon::types::JsObject [−][src]
#[repr(C)]pub struct JsObject(_);
Expand description
A JavaScript object.
Implementations
Trait Implementations
fn get<'a, C: Context<'a>, K: PropertyKey>(
self,
cx: &mut C,
key: K
) -> NeonResult<Handle<'a, JsValue>>
This is supported on crate feature
napi-6
only.fn set<'a, C: Context<'a>, K: PropertyKey, W: Value>(
self,
cx: &mut C,
key: K,
val: Handle<'_, W>
) -> NeonResult<bool>
Auto Trait Implementations
impl RefUnwindSafe for JsObject
impl UnwindSafe for JsObject
Blanket Implementations
Mutably borrows from an owned value. Read more