pub trait Remapwhere
Self: Sized,{
// Required method
fn remap(self, from: Range<Self>, onto: Range<Self>) -> Self;
}
Expand description
Represents a type that can be mapped between two ranges.
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.