pub struct TableBytecode {
pub ops: Vec<TableOp>,
}Expand description
Compiled linear bytecode for high-speed inner table cell evaluation
Fields§
§ops: Vec<TableOp>Implementations§
Source§impl TableBytecode
impl TableBytecode
Sourcepub unsafe fn execute(
&self,
flat_cells: *const Value,
col_count: usize,
row_offset: usize,
existing_row_count: usize,
total_rows: usize,
iteration_raw: i64,
static_rows: *const Vec<Value>,
col_names: &[String],
) -> Option<f64>
pub unsafe fn execute( &self, flat_cells: *const Value, col_count: usize, row_offset: usize, existing_row_count: usize, total_rows: usize, iteration_raw: i64, static_rows: *const Vec<Value>, col_names: &[String], ) -> Option<f64>
Execute bytecode expression against flat cell buffer in a tight stack loop
§Safety
flat_cells must point to a buffer of at least total_rows * col_count Values.
static_rows must point to valid Vec<Value> of previous rows.
Trait Implementations§
Source§impl Clone for TableBytecode
impl Clone for TableBytecode
Source§fn clone(&self) -> TableBytecode
fn clone(&self) -> TableBytecode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TableBytecode
impl RefUnwindSafe for TableBytecode
impl Send for TableBytecode
impl Sync for TableBytecode
impl Unpin for TableBytecode
impl UnsafeUnpin for TableBytecode
impl UnwindSafe for TableBytecode
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