pub trait RecordArena<'a, Layout, RecordMut> {
// Required method
fn alloc(&'a mut self, layout: Layout) -> RecordMut;
}
Expand description
Given some minimum layout of type Layout
, the RecordArena
should allocate a buffer, of
size possibly larger than the record, and then return mutable pointers to the record within the
buffer.
Required Methods§
Implementors§
impl<'a> RecordArena<'a, AccessLayout, AccessRecordMut<'a>> for DenseRecordArena
impl<'a, A, C, M> RecordArena<'a, AdapterCoreLayout<M>, (A, C)> for DenseRecordArenawhere
[u8]: CustomBorrow<'a, A, AdapterCoreLayout<M>> + CustomBorrow<'a, C, AdapterCoreLayout<M>>,
M: Clone,
A: SizedRecord<AdapterCoreLayout<M>>,
C: SizedRecord<AdapterCoreLayout<M>>,
RecordArena implementation for DenseRecordArena, with AdapterCoreLayout
NOTE: A
is the adapter RecordMut type and C
is the core record type
impl<'a, F: Field, A, C, M> RecordArena<'a, AdapterCoreLayout<M>, (A, C)> for MatrixRecordArena<F>where
[u8]: CustomBorrow<'a, A, AdapterCoreLayout<M>> + CustomBorrow<'a, C, AdapterCoreLayout<M>>,
M: Clone + AdapterCoreMetadata,
RecordArena implementation for MatrixRecordArena, with AdapterCoreLayout
NOTE: A
is the adapter RecordMut type and C
is the core RecordMut type
impl<'a, F: Field, M: MultiRowMetadata, R> RecordArena<'a, MultiRowLayout<M>, R> for MatrixRecordArena<F>
RecordArena implementation for MatrixRecordArena, with MultiRowLayout
NOTE: R
is the RecordMut type
impl<'a, R, M> RecordArena<'a, MultiRowLayout<M>, R> for DenseRecordArena
RecordArena implementation for DenseRecordArena, with MultiRowLayout
NOTE: R
is the RecordMut type