Macro define_funny_struct

Source
macro_rules! define_funny_struct {
    ($name:ident) => { ... };
}
Expand description

Defines a new funny struct whose name always starts with an “A” followed by the provided identifier.

§Example

#[cfg(feature = "uses_paste")]
use paste::paste;
cargo_e::define_funny_struct!(CrazyDuck);
// This creates a struct named `ACrazyDuck`