Type Alias mozjs::jsapi::JS::UTF8Chars_Base

source ·
pub type UTF8Chars_Base = Range<u8>;

Aliased Type§

struct UTF8Chars_Base {
    pub mStart: RangedPtr<u8>,
    pub mEnd: RangedPtr<u8>,
    pub _phantom_0: PhantomData<UnsafeCell<u8>>,
}

Fields§

§mStart: RangedPtr<u8>§mEnd: RangedPtr<u8>§_phantom_0: PhantomData<UnsafeCell<u8>>

Implementations§

source§

impl<T> Range<T>

source

pub fn new(start: &mut T, end: &mut T) -> Range<T>

Trait Implementations§

source§

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

source§

fn clone(&self) -> Range<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 Range<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<Range<T>> for Range<T>where T: PartialEq<T>,

source§

fn eq(&self, other: &Range<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 Range<T>where T: Copy,

source§

impl<T> StructuralPartialEq for Range<T>