Struct neon::types::JsArray [−][src]
#[repr(C)]pub struct JsArray(_);
Expand description
A JavaScript array object, i.e. a value for which Array.isArray
would return true
.
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 JsArray
impl UnwindSafe for JsArray
Blanket Implementations
Mutably borrows from an owned value. Read more