macro_rules! __controller_auto_register {
($name:expr, $type:ty) => { ... };
}Expand description
Helper macro for auto-registering controllers
This macro is used by the #[controller] derive macro to automatically register controller types at static initialization time using ctor. It handles both simple controllers (with parameterless new()) and IoC-enabled controllers (implementing IocControllable).