pub trait RangeExt {
type Idx;
// Required methods
fn mv(&self, l: Self::Idx, r: Self::Idx) -> Self;
fn shift(&self, a: Self::Idx) -> Self;
fn expand(&self, a: Self::Idx) -> Self;
}Required Associated Types§
Required Methods§
fn mv(&self, l: Self::Idx, r: Self::Idx) -> Self
fn shift(&self, a: Self::Idx) -> Self
fn expand(&self, a: Self::Idx) -> Self
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.