Skip to main content

AttributeName

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".

Implementations on Foreign Types§

Source§

impl<T> AttributeName for Option<T>
where T: AttributeName,

Source§

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

Implementors§