Enum js::jsapi::Type
[−]
[src]
#[repr(u32)]pub enum Type { Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64, Uint8Clamped, MaxTypedArrayViewType, Float32x4, Int8x16, Int16x8, Int32x4, }
Scalar types that can appear in typed arrays and typed objects. The enum values must to be kept in sync with the JS_SCALARTYPEREPR_ constants, as well as the TypedArrayObject::classes and TypedArrayObject::protoClasses definitions.
Variants
Int8Uint8Int16Uint16Int32Uint32Float32Float64Uint8ClampedMaxTypedArrayViewTypeFloat32x4Int8x16Int16x8Int32x4
Trait Implementations
impl Debug for Type[src]
impl Copy for Type[src]
impl Clone for Type[src]
fn clone(&self) -> Type[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for Type[src]
impl PartialEq for Type[src]
fn eq(&self, __arg_0: &Type) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.