Type Alias mozjs::jsapi::JS::ConstCharPtr

source ·
pub type ConstCharPtr = RangedPtr<u16>;

Aliased Type§

struct ConstCharPtr {
    pub mPtr: *mut u16,
    pub _phantom_0: PhantomData<UnsafeCell<u16>>,
}

Fields§

§mPtr: *mut u16§_phantom_0: PhantomData<UnsafeCell<u16>>

Trait Implementations§

source§

impl<T> Clone for RangedPtr<T>where T: Clone,

source§

fn clone(&self) -> RangedPtr<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> Debug for RangedPtr<T>where T: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T> PartialEq<RangedPtr<T>> for RangedPtr<T>where T: PartialEq<T>,

source§

fn eq(&self, other: &RangedPtr<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T> Copy for RangedPtr<T>where T: Copy,

source§

impl<T> StructuralPartialEq for RangedPtr<T>