Skip to main content

Identifiable

Trait Identifiable 

Source
pub trait Identifiable: Identify {
    // Required method
    fn get_id(&self) -> &Self::Id;
}

Required Methods§

Source

fn get_id(&self) -> &Self::Id

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§