Trait Batcher
pub trait Batcher<I, O>: Send + Sync {
// Required method
fn batch(&self, items: Vec<I>, device: &Device) -> O;
}Expand description
A trait for batching items of type I into items of type O.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".