pub trait Sampler:
Len
+ IntoIterator<Item = usize>
+ Copy {
// Required method
fn new(data_source_len: usize) -> Self;
}
Expand description
Every Sampler is iterable and has a length.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.