pub trait HasIdInterface: Debug {
// Required method
fn id(&self) -> Id;
}Expand description
Has id.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait HasIdInterface: Debug {
// Required method
fn id(&self) -> Id;
}Has id.
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".