pub enum Array {
Bool(Vec<bool>),
I8(Vec<i8>),
U8(Vec<u8>),
I16(Vec<i16>),
U16(Vec<u16>),
I32(Vec<i32>),
U32(Vec<u32>),
I64(Vec<i64>),
U64(Vec<u64>),
F32(Vec<f32>),
F64(Vec<f64>),
Values(Vec<Value>),
}Expand description
A typed array of primitives.
Variants§
Bool(Vec<bool>)
bool elements.
I8(Vec<i8>)
SInt8 elements.
U8(Vec<u8>)
UInt8 / char elements, and TypelessData.
I16(Vec<i16>)
short and SInt16 elements.
U16(Vec<u16>)
unsigned short and UInt16 elements.
I32(Vec<i32>)
int and SInt32 elements.
U32(Vec<u32>)
unsigned int and UInt32 elements.
I64(Vec<i64>)
long long and SInt64 elements.
U64(Vec<u64>)
unsigned long long, UInt64 and FileSize elements.
F32(Vec<f32>)
float elements.
F64(Vec<f64>)
double elements.
Values(Vec<Value>)
Any other element type.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Array
Auto Trait Implementations§
impl Freeze for Array
impl RefUnwindSafe for Array
impl Send for Array
impl Sync for Array
impl Unpin for Array
impl UnsafeUnpin for Array
impl UnwindSafe for Array
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