mozjs::jsapi

Type Alias ConstCharPtr

Source
pub type ConstCharPtr = RangedPtr<u16>;

Aliased Type§

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

Fields§

§_phantom_0: PhantomData<UnsafeCell<u16>>§mPtr: *mut 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 for RangedPtr<T>
where T: PartialEq,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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>