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

Trait Implementations

impl Debug for Type
[src]

[src]

Formats the value using the given formatter.

impl Copy for Type
[src]

impl Clone for Type
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Type
[src]

impl PartialEq for Type
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Hash for Type
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more