[][src]Module neon::borrow

Types and traits for obtaining temporary access to the internals of JavaScript values.

Structs

Ref

An immutable reference to the contents of a borrowed JS value.

RefMut

A mutable reference to the contents of a borrowed JS value.

Enums

LoanError

An error produced by a failed loan in the Borrow or BorrowMut traits.

Traits

Borrow

A trait for JS values whose internal contents can be borrowed immutably by Rust while the JS engine is locked.

BorrowMut

A trait for JS values whose internal contents can be borrowed mutably by Rust while the JS engine is locked.