Trait scsys_core::traits::Name

source ·
pub trait Name {
    // Required method
    fn name(&self) -> String;

    // Provided method
    fn slug(&self) -> String { ... }
}
Expand description

Interface for nameable data-structures

Required Methods§

source

fn name(&self) -> String

Provided Methods§

source

fn slug(&self) -> String

Implementors§