Trait AttributeName

Source
pub trait AttributeName {
    const NAME: &'static str;
}

Required Associated Constants§

Source

const 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<T: AttributeName> AttributeName for Option<T>

Source§

const NAME: &'static str = T::NAME

Implementors§