struct FieldTapePositions {
data: Vec<u32>,
row_count: usize,
}Expand description
Reusable buffer for tape positions, indexed by (field_idx, row_idx). A value of 0 indicates the field is absent for that row.
Fields§
§data: Vec<u32>§row_count: usizeImplementations§
Source§impl FieldTapePositions
impl FieldTapePositions
fn new() -> Self
fn resize( &mut self, field_count: usize, row_count: usize, ) -> Result<(), ArrowError>
fn try_set(&mut self, field_idx: usize, row_idx: usize, pos: u32) -> Option<()>
fn set(&mut self, field_idx: usize, row_idx: usize, pos: u32)
fn field_positions(&self, field_idx: usize) -> &[u32]
Auto Trait Implementations§
impl Freeze for FieldTapePositions
impl RefUnwindSafe for FieldTapePositions
impl Send for FieldTapePositions
impl Sync for FieldTapePositions
impl Unpin for FieldTapePositions
impl UnwindSafe for FieldTapePositions
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