Trait dync::index_slice::ScaleRange
source · [−]pub trait ScaleRange {
fn scale_range(self, scale: usize) -> Self;
}
Expand description
A helper trait to scale a standard Rust range by a given scale.
This allows us to use all of Rust’s range types for indexing out Slice
s.