pub trait Position:
Debug
+ Clone
+ Default
+ PartialEq {
// Required method
fn offset_range(&self, local_range: Range<usize>) -> Option<Range<Self>>;
}Expand description
Implemented by types usable as Position generic type parameter in this library.
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.