Skip to main content

SoaSource

Trait SoaSource 

Source
pub trait SoaSource<'a> {
    // Required method
    fn fill_batch(&mut self, batch: &mut SoaBatch<'a>) -> bool;
}
Expand description

Trait for sources that provide SoA batches

Required Methods§

Source

fn fill_batch(&mut self, batch: &mut SoaBatch<'a>) -> bool

Fill a batch with entries from the source Returns false if source is exhausted

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§