macro_rules! class { (#![prefix = $name:literal] $($methods:tt)*) => { ... }; ($($methods:tt)*) => { ... }; }