pub trait Object {
type Id: AsCursorOpt + FromCursor;
// Required methods
fn id(&self) -> &Self::Id;
fn into_id(self) -> Self::Id;
}Expand description
Implemented by types which represent objects.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".