pub trait DebugDbUpcast<'db, T: ?Sized> {
// Required method
fn debug_db_upcast(&'db self) -> &'db T;
}Expand description
A trait that allows upcasting the database to the type T.
Required Methods§
fn debug_db_upcast(&'db self) -> &'db T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".