pub enum ElementType {
Int8,
Uint8,
Uint8Clamped,
Int16,
Uint16,
Int32,
Uint32,
Float16,
Float32,
Float64,
}Expand description
Which element type a view reads and writes.
Variants§
Int8
Int8Array
Uint8
Uint8Array
Uint8Clamped
Uint8ClampedArray
Int16
Int16Array
Uint16
Uint16Array
Int32
Int32Array
Uint32
Uint32Array
Float16
Float16Array
Float32
Float32Array
Float64
Float64Array
Implementations§
Trait Implementations§
Source§impl Clone for ElementType
impl Clone for ElementType
impl Copy for ElementType
Source§impl Debug for ElementType
impl Debug for ElementType
impl Eq for ElementType
Source§impl PartialEq for ElementType
impl PartialEq for ElementType
impl StructuralPartialEq for ElementType
Auto Trait Implementations§
impl Forget for ElementType
impl Freeze for ElementType
impl Move for ElementType
impl RefUnwindSafe for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Unpin for ElementType
impl UnsafeUnpin for ElementType
impl UnwindSafe for ElementType
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