Skip to main content

HasId

Trait HasId 

Source
pub trait HasId {
    // Required method
    fn id(&self) -> EntityId;
}

Required Methods§

Source

fn id(&self) -> EntityId

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§