pub trait IRawDatabaseExt: IRawDatabase + Sized {
// Provided method
fn into_database(self) -> Database { ... }
}
Expand description
An extension trait with convenience operations on IRawDatabase
Provided Methods§
Sourcefn into_database(self) -> Database
fn into_database(self) -> Database
Convert to type implementing IRawDatabase
into Database
.
When type inference is not an issue, Into::into
can be used instead.
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.