Skip to main content

AttributeDescriptor

Trait AttributeDescriptor 

Source
pub trait AttributeDescriptor {
    const NAME: &'static str;
    const NAMESPACE: Option<&'static str> = None;
    const VOLATILE: bool = false;
}
Expand description

Static metadata for a generated attribute builder method.

Required Associated Constants§

Source

const NAME: &'static str

Attribute name.

Provided Associated Constants§

Source

const NAMESPACE: Option<&'static str> = None

Attribute namespace.

Source

const VOLATILE: bool = false

Whether this dynamic attribute should always be written.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§