Struct neon::prelude::JsArrayBuffer [−][src]
#[repr(C)]pub struct JsArrayBuffer(_);
Expand description
The standard JS ArrayBuffer
type.
Implementations
impl JsArrayBuffer
[src]
impl JsArrayBuffer
[src]Trait Implementations
impl<'a> Borrow for &'a JsArrayBuffer
[src]
impl<'a> Borrow for &'a JsArrayBuffer
[src]type Target = BinaryData<'a>
type Target = BinaryData<'a>
The type of the value’s internal contents.
impl<'a> Borrow for &'a mut JsArrayBuffer
[src]
impl<'a> Borrow for &'a mut JsArrayBuffer
[src]type Target = BinaryData<'a>
type Target = BinaryData<'a>
The type of the value’s internal contents.
impl<'a> BorrowMut for &'a mut JsArrayBuffer
[src]
impl<'a> BorrowMut for &'a mut JsArrayBuffer
[src]impl Clone for JsArrayBuffer
[src]
impl Clone for JsArrayBuffer
[src]fn clone(&self) -> JsArrayBuffer
[src]
fn clone(&self) -> JsArrayBuffer
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Managed for JsArrayBuffer
[src]
impl Managed for JsArrayBuffer
[src]impl Object for JsArrayBuffer
[src]
impl Object for JsArrayBuffer
[src]fn get<'a, C: Context<'a>, K: PropertyKey>(
self,
cx: &mut C,
key: K
) -> NeonResult<Handle<'a, JsValue>>
[src]
self,
cx: &mut C,
key: K
) -> NeonResult<Handle<'a, JsValue>>
fn get_own_property_names<'a, C: Context<'a>>(
self,
cx: &mut C
) -> JsResult<'a, JsArray>
[src]
self,
cx: &mut C
) -> JsResult<'a, JsArray>
fn set<'a, C: Context<'a>, K: PropertyKey, W: Value>(
self,
_: &mut C,
key: K,
val: Handle<'_, W>
) -> NeonResult<bool>
[src]
self,
_: &mut C,
key: K,
val: Handle<'_, W>
) -> NeonResult<bool>
impl Value for JsArrayBuffer
[src]
impl Value for JsArrayBuffer
[src]impl Copy for JsArrayBuffer
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more