pub trait Displayable: DisplayWithDb {
// Provided method
fn display<'a, 'b>(
&'a self,
db: &'b dyn AnalyzerDb,
) -> DisplayableWrapper<'b, &'a Self> { ... }
}
Provided Methods§
fn display<'a, 'b>( &'a self, db: &'b dyn AnalyzerDb, ) -> DisplayableWrapper<'b, &'a 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.