#[repr(u8)]pub enum ElementKind {
Int8 = 0,
Uint8 = 1,
Uint8Clamped = 2,
Int16 = 3,
Uint16 = 4,
Int32 = 5,
Uint32 = 6,
Float16 = 7,
Float32 = 8,
Float64 = 9,
BigInt64 = 10,
BigUint64 = 11,
}Expand description
A typed array’s element type.
Variants§
Int8 = 0
Uint8 = 1
Uint8Clamped = 2
Int16 = 3
Uint16 = 4
Int32 = 5
Uint32 = 6
Float16 = 7
Float32 = 8
Float64 = 9
BigInt64 = 10
BigUint64 = 11
Implementations§
Source§impl ElementKind
impl ElementKind
Trait Implementations§
Source§impl Clone for ElementKind
impl Clone for ElementKind
impl Copy for ElementKind
Source§impl Debug for ElementKind
impl Debug for ElementKind
impl Eq for ElementKind
Source§impl Hash for ElementKind
impl Hash for ElementKind
Source§impl PartialEq for ElementKind
impl PartialEq for ElementKind
impl StructuralPartialEq for ElementKind
Auto Trait Implementations§
impl Freeze for ElementKind
impl RefUnwindSafe for ElementKind
impl Send for ElementKind
impl Sync for ElementKind
impl Unpin for ElementKind
impl UnsafeUnpin for ElementKind
impl UnwindSafe for ElementKind
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