Type Alias mozjs_sys::jsapi::JS::MutableHandleString
source · pub type MutableHandleString = MutableHandle<*mut JSString>;
Aliased Type§
struct MutableHandleString {
pub ptr: *mut *mut JSString,
pub _phantom_0: PhantomData<UnsafeCell<*mut JSString>>,
}
Fields§
§ptr: *mut *mut JSString
§_phantom_0: PhantomData<UnsafeCell<*mut JSString>>
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for MutableHandle<T>
impl<T: Clone> Clone for MutableHandle<T>
source§fn clone(&self) -> MutableHandle<T>
fn clone(&self) -> MutableHandle<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for MutableHandle<T>
impl<T: Debug> Debug for MutableHandle<T>
source§impl<T> Deref for MutableHandle<T>
impl<T> Deref for MutableHandle<T>
source§impl<T> DerefMut for MutableHandle<T>
impl<T> DerefMut for MutableHandle<T>
source§impl<T: IntoMutableHandle> From<T> for MutableHandle<T::Target>
impl<T: IntoMutableHandle> From<T> for MutableHandle<T::Target>
source§impl<T: PartialEq> PartialEq<MutableHandle<T>> for MutableHandle<T>
impl<T: PartialEq> PartialEq<MutableHandle<T>> for MutableHandle<T>
source§fn eq(&self, other: &MutableHandle<T>) -> bool
fn eq(&self, other: &MutableHandle<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.