#[repr(u32)]pub enum Type {
Show 15 variants
Int8 = 0,
Uint8 = 1,
Int16 = 2,
Uint16 = 3,
Int32 = 4,
Uint32 = 5,
Float32 = 6,
Float64 = 7,
Uint8Clamped = 8,
BigInt64 = 9,
BigUint64 = 10,
Float16 = 11,
MaxTypedArrayViewType = 12,
Int64 = 13,
Simd128 = 14,
}
Variants§
Int8 = 0
Uint8 = 1
Int16 = 2
Uint16 = 3
Int32 = 4
Uint32 = 5
Float32 = 6
Float64 = 7
Uint8Clamped = 8
Special type that is a uint8_t, but assignments are clamped to [0, 256). Treat the raw data type as a uint8_t.
BigInt64 = 9
Special type that is a uint8_t, but assignments are clamped to [0, 256). Treat the raw data type as a uint8_t.
BigUint64 = 10
Special type that is a uint8_t, but assignments are clamped to [0, 256). Treat the raw data type as a uint8_t.
Float16 = 11
Special type that is a uint8_t, but assignments are clamped to [0, 256). Treat the raw data type as a uint8_t.
MaxTypedArrayViewType = 12
Types that don’t have their own TypedArray equivalent, for now. E.g. DataView
Int64 = 13
Types that don’t have their own TypedArray equivalent, for now. E.g. DataView
Simd128 = 14
Types that don’t have their own TypedArray equivalent, for now. E.g. DataView
Implementations§
Trait Implementations§
source§impl PartialEq for Type
impl PartialEq for Type
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more