Macro const_gen::const_definition[][src]

macro_rules! const_definition {
    ( $(#[$attr:meta])* $ty:ty) => { ... };
}

A macro to help in the creation of const definitions. Allows this syntax: const_definition!(#[attribute1] #[attributeN] TypeName) This is syntactic sugar for calling the CompileConst::const_definition function.