pub trait Name {
    // Required method
    fn name() -> &'static str;
}
Expand description

the node name

Required Methods§

Source

fn name() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Name for String

Source§

fn name() -> &'static str

Implementors§