scsys_traits/named.rs
1/*
2 Appellation: named <module>
3 Contrib: @FL03
4*/
5/// Interface for nameable data-structures
6pub trait Named {
7 fn name(&self) -> &str;
8}
9/// [`Appellation`] defines a common interface for establishing a solid name for
10/// various entities.
11pub trait Appellation {
12 fn appellation(&self) -> &str;
13}