pub trait ReportingSpan: Debug + Copy {
// Required methods
fn with_start(&self, start: usize) -> Self;
fn with_end(&self, end: usize) -> Self;
fn start(&self) -> usize;
fn end(&self) -> usize;
}
Required Methods§
fn with_start(&self, start: usize) -> Self
fn with_end(&self, end: usize) -> Self
fn start(&self) -> usize
fn end(&self) -> usize
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.