Name

Trait Name 

Source
pub trait Name {
    // Required method
    fn name(&self) -> String;
}
Expand description

A trait for data having a short name.

Required Methods§

Source

fn name(&self) -> String

Implementors§

Source§

impl<State: DataLike, Part1: DataLike, Part2: DataLike, StateId: IndexLike, Payload: DataLike, const MAX_PARTS: usize> Name for ContainerOf2TypeData<State, Part1, Part2, StateId, Payload, MAX_PARTS>

Source§

impl<State: DataLike, Part: DataLike, StateId: IndexLike, Payload: DataLike, const MAX_PARTS: usize> Name for ContainerOf1TypeData<State, Part, StateId, Payload, MAX_PARTS>

Source§

impl<State: DataLike, StateId: IndexLike, Payload: DataLike> Name for AgentTypeData<State, StateId, Payload>