Struct js::jsapi::MutableHandle [] [src]

#[repr(C)]
pub struct MutableHandle<T> { pub _base: MutableHandleBase<T>, pub ptr: *mut T, }

Similar to a handle, but the underlying storage can be changed. This is useful for outparams.

If you want to add additional methods to MutableHandle for a specific specialization, define a MutableHandleBase specialization containing them.

Fields

Methods

impl<T> MutableHandle<T>
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<T: Debug> Debug for MutableHandle<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Copy> Copy for MutableHandle<T>
[src]

impl<T: Clone> Clone for MutableHandle<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> Deref for MutableHandle<T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T> DerefMut for MutableHandle<T>
[src]

[src]

Mutably dereferences the value.