Skip to main content

Module delegates

Module delegates 

Source

Structs§

DelegateInfo
Information about a delegate property to generate code for.
DelegateParam
A single parameter in a delegate signature.

Enums§

ParamConversion
How to read a delegate param from the raw params buffer.

Functions§

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).