Skip to main contentModule delegates
Source - DelegateInfo
- Information about a delegate property to generate code for.
- DelegateParam
- A single parameter in a delegate signature.
- ParamConversion
- How to read a delegate param from the raw params buffer.
- collect_delegate_props
- Collect delegate properties from a class and resolve their param types.
- generate_delegate_impls
- Generate trait method implementations for delegate properties (used as default impls).
- generate_delegate_structs
- Generate delegate wrapper structs with typed bind/add methods.
These are emitted at the top of the class file (before the trait).