Enum arrow_data::BufferSpec
source · [−]pub enum BufferSpec {
FixedWidth {
byte_width: usize,
},
VariableWidth,
BitMap,
AlwaysNull,
}Expand description
Layout specification for a single data type buffer
Variants
FixedWidth
Fields
byte_width: usizeeach element has a fixed width
VariableWidth
Variable width, such as string data for utf8 data
BitMap
Buffer holds a bitmap.
Note: Unlike the C++ implementation, the null/validity buffer is handled specially rather than as another of the buffers in the spec, so this variant is only used for the Boolean type.
AlwaysNull
Buffer is always null. Unused currently in Rust implementation, (used in C++ for Union type)
Trait Implementations
sourceimpl Debug for BufferSpec
impl Debug for BufferSpec
sourceimpl PartialEq<BufferSpec> for BufferSpec
impl PartialEq<BufferSpec> for BufferSpec
sourcefn eq(&self, other: &BufferSpec) -> bool
fn eq(&self, other: &BufferSpec) -> bool
impl Eq for BufferSpec
impl StructuralEq for BufferSpec
impl StructuralPartialEq for BufferSpec
Auto Trait Implementations
impl RefUnwindSafe for BufferSpec
impl Send for BufferSpec
impl Sync for BufferSpec
impl Unpin for BufferSpec
impl UnwindSafe for BufferSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more