[][src]Trait neon::borrow::BorrowMut

pub trait BorrowMut: Borrow {
    fn try_borrow_mut<'a>(
        self,
        lock: &'a Lock<'a>
    ) -> Result<RefMut<'a, Self::Target>, LoanError>; fn borrow_mut<'a>(self, lock: &'a Lock<'a>) -> RefMut<'a, Self::Target> { ... } }

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

Required Methods

Borrow the contents of this value mutably.

If there is already an outstanding loan for this value, this method panics.

Provided Methods

Borrow the contents of this value mutably.

If there is already an outstanding loan for this value, this method panics.

Implementations on Foreign Types

impl<'a, T: Class> BorrowMut for &'a mut T
[src]

Implementors

impl<'a> BorrowMut for &'a mut JsArrayBuffer
[src]

impl<'a> BorrowMut for &'a mut JsBuffer
[src]