pub enum PrimArray {
Bool(Box<[bool]>),
U8(Bytes),
I8(Box<[i8]>),
U16(Box<[u16]>),
I16(Box<[i16]>),
U32(Box<[u32]>),
I32(Box<[i32]>),
U64(Box<[u64]>),
I64(Box<[i64]>),
F32(Box<[u32]>),
F64(Box<[u64]>),
}Expand description
A run of primitives, decoded to native values (floats as bit patterns).
Variants§
Bool(Box<[bool]>)
vector<bool>.
U8(Bytes)
vector<UInt8> and vector<char>: a zero-copy slice of the file.
I8(Box<[i8]>)
vector<SInt8>.
U16(Box<[u16]>)
vector<UInt16>.
I16(Box<[i16]>)
vector<SInt16>.
U32(Box<[u32]>)
vector<UInt32>.
I32(Box<[i32]>)
vector<SInt32>.
U64(Box<[u64]>)
vector<UInt64>.
I64(Box<[i64]>)
vector<SInt64>.
F32(Box<[u32]>)
vector<float>: bit patterns.
F64(Box<[u64]>)
vector<double>: bit patterns.
Implementations§
Trait Implementations§
impl Eq for PrimArray
impl StructuralPartialEq for PrimArray
Auto Trait Implementations§
impl !Freeze for PrimArray
impl Forget for PrimArray
impl Move for PrimArray
impl RefUnwindSafe for PrimArray
impl Send for PrimArray
impl Sync for PrimArray
impl Unpin for PrimArray
impl UnsafeUnpin for PrimArray
impl UnwindSafe for PrimArray
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