pub trait GetName {
// Required method
fn name(&self) -> String;
}
Expand description
GetName
trait, represent name of specific entity.
pub trait GetName {
// Required method
fn name(&self) -> String;
}
GetName
trait, represent name of specific entity.