mozjs::jsapi::gc

Type Alias ChunkArenaBitmap

Source
pub type ChunkArenaBitmap = __BindgenOpaqueArray<u32, 8>;
Expand description

An object like std::bitset but which provides access to the underlying storage.

The limited API is due to expedience only; feel free to flesh out any std::bitset-like members.

Aliased Type§

struct ChunkArenaBitmap(pub [u32; 8]);

Fields§

§0: [u32; 8]

Trait Implementations

Source§

impl<T, const N: usize> Clone for __BindgenOpaqueArray<T, N>
where T: Clone + Copy,

Source§

fn clone(&self) -> __BindgenOpaqueArray<T, N>

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, const N: usize> Debug for __BindgenOpaqueArray<T, N>
where T: Debug + Copy,

Source§

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

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

impl<T, const N: usize> Default for __BindgenOpaqueArray<T, N>
where T: Copy + Default,

Source§

fn default() -> __BindgenOpaqueArray<T, N>

Returns the “default value” for a type. Read more
Source§

impl<T, const N: usize> Hash for __BindgenOpaqueArray<T, N>
where T: Hash + Copy,

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<T, const N: usize> PartialEq for __BindgenOpaqueArray<T, N>
where T: PartialEq + Copy,

Source§

fn eq(&self, other: &__BindgenOpaqueArray<T, N>) -> 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, const N: usize> Copy for __BindgenOpaqueArray<T, N>
where T: Copy,

Source§

impl<T, const N: usize> StructuralPartialEq for __BindgenOpaqueArray<T, N>
where T: Copy,