pub struct SampleWorkspace {
pub row_indexes: Vec<u32>,
pub values: AlignedBuffer<f64>,
pub validity_words: Vec<u64>,
pub scratch: AlignedBuffer<f64>,
/* private fields */
}Expand description
Caller-owned scratch for SamplePlan::prepare.
Fields§
§row_indexes: Vec<u32>Selected raw row indexes (u32).
values: AlignedBuffer<f64>Column-major values.
validity_words: Vec<u64>Packed validity words for selected rows (optional scratch).
scratch: AlignedBuffer<f64>Extra scratch.
Implementations§
Trait Implementations§
Source§impl Clone for SampleWorkspace
impl Clone for SampleWorkspace
Source§fn clone(&self) -> SampleWorkspace
fn clone(&self) -> SampleWorkspace
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 moreSource§impl Debug for SampleWorkspace
impl Debug for SampleWorkspace
Source§impl Default for SampleWorkspace
impl Default for SampleWorkspace
Source§fn default() -> SampleWorkspace
fn default() -> SampleWorkspace
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SampleWorkspace
impl RefUnwindSafe for SampleWorkspace
impl Send for SampleWorkspace
impl Sync for SampleWorkspace
impl Unpin for SampleWorkspace
impl UnsafeUnpin for SampleWorkspace
impl UnwindSafe for SampleWorkspace
Blanket Implementations§
impl<T> Allocation for T
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