Skip to main content

HasIdInterface

Trait HasIdInterface 

Source
pub trait HasIdInterface
where Self: Debug,
{ // Required method fn id(&self) -> Id; }
Expand description

Has id.

Required Methods§

Source

fn id(&self) -> Id

Get id.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§