Struct neon::types::JsArrayBuffer [−][src]
#[repr(C)]pub struct JsArrayBuffer(_);
Expand description
The standard JS ArrayBuffer
type.
Implementations
Constructs a new ArrayBuffer
object with the given size, in bytes.
Trait Implementations
type Target = BinaryData<'a>
type Target = BinaryData<'a>
The type of the value’s internal contents.
Borrow the contents of this value immutably. Read more
type Target = BinaryData<'a>
type Target = BinaryData<'a>
The type of the value’s internal contents.
Borrow the contents of this value immutably. Read more
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 JsArrayBuffer
impl !Send for JsArrayBuffer
impl !Sync for JsArrayBuffer
impl Unpin for JsArrayBuffer
impl UnwindSafe for JsArrayBuffer
Blanket Implementations
Mutably borrows from an owned value. Read more