[][src]Macro qualify_derive::declare

macro_rules! declare {
    ($(#[$meta:meta])* $name:ident derives $target:ty; $(use $imports:ty;)*) => { ... };
    ($(#[$meta:meta])* $name:ident derives $target:ty; $(use $imports:ty;)* attr $attr:ident $(;)?) => { ... };
    (@INTERNAL $(#[$meta:meta])* $name:ident; $target:ty; $($imports:ty),*; $passthru:expr) => { ... };
}

Convenient macro to declare an attribute that calls fix.

See the README for detailed explanation.