pub trait GetRange {
// Required method
fn get_range(&self) -> Result<Range, GetRangeError>;
}Expand description
A trait for getting the range for this specific item.
Required Methods§
Sourcefn get_range(&self) -> Result<Range, GetRangeError>
fn get_range(&self) -> Result<Range, GetRangeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".