ai_descriptor

Trait DefaultName

Source
pub trait DefaultName {
    // Required method
    fn default_name() -> Cow<'static, str>;
}
Expand description

Trait for providing a default name.

Required Methods§

Source

fn default_name() -> Cow<'static, str>

Returns the default name for an item. Cow<'static, str> allows owned or static string.

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.

Implementors§