pub struct ArrayBuffer { /* private fields */ }
Expand description
pass rust byte arry as Node.js ArrayBuffer
Implementations§
Source§impl ArrayBuffer
impl ArrayBuffer
pub fn new(data: Vec<u8>) -> ArrayBuffer
Trait Implementations§
Source§impl Debug for ArrayBuffer
impl Debug for ArrayBuffer
Auto Trait Implementations§
impl Freeze for ArrayBuffer
impl RefUnwindSafe for ArrayBuffer
impl Send for ArrayBuffer
impl Sync for ArrayBuffer
impl Unpin for ArrayBuffer
impl UnwindSafe for ArrayBuffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more