Typed arrays are managed with the
ArrayBuffer type, which controls
the storage of the underlying data buffer, and several typed views for managing access
to the buffer. Neon provides access to the
ArrayBuffer class with the
Neon makes it possible to borrow temporary access to the internal memory
Lock and returning a reference to a
BinaryData struct. The
BorrowMut traits provide the methods for borrowing this typed array data.
An immutable reference to the contents of a borrowed JS value.
A mutable reference to the contents of a borrowed JS value.
An error produced by a failed loan in the
A trait for JS values whose internal contents can be borrowed immutably by Rust while the JS engine is locked.
A trait for JS values whose internal contents can be borrowed mutably by Rust while the JS engine is locked.