Derive Macro orzir_macros::Ty

source ·
#[derive(Ty)]
{
    // Attributes available to this derive:
    #[mnemonic]
    #[verifiers]
    #[interfaces]
}
Expand description

Implement a Ty for the given struct.

This is similar to the Op derive, but for the Ty trait, except that the constructor will be get for singleton style construction.