Trait Batcher
pub trait Batcher<B, I, O>: Send + Syncwhere
B: Backend,{
// Required method
fn batch(&self, items: Vec<I>, device: &<B as Backend>::Device) -> O;
}
Expand description
A trait for batching items of type I
into items of type O
.