Attribute

Derive Macro Attribute 

Source
#[derive(Attribute)]
Expand description

Allow the type to convert to Attribute.

ยงSupported types

  • Unit struct
  • Fieldless enum with #[repr(u64)]
  • Newtype of u64

This is usable with bitflags! in impl mode.