pub trait IntoRange: Clone {
// Required method
fn into_range(self) -> Range<i64>;
}Expand description
Into i64 range, used for indexing
Required Methods§
sourcefn into_range(self) -> Range<i64>
fn into_range(self) -> Range<i64>
Convert self to range i64, if it is scalar, it gets converted to x..x+1
Object Safety§
This trait is not object safe.