Skip to main content

BlockName

Trait BlockName 

Source
pub trait BlockName {
    // Required method
    fn name(&self) -> Cow<'_, str>;
}
Expand description

A trait for objects that have a name.

Required Methods§

Source

fn name(&self) -> Cow<'_, str>

Returns the name of the object.

Implementors§