Skip to main content

generate_delegate_structs

Function generate_delegate_structs 

Source
pub fn generate_delegate_structs(
    out: &mut String,
    delegates: &[DelegateInfo<'_>],
    class_name: &str,
)
Expand description

Generate delegate wrapper structs with typed bind/add methods. These are emitted at the top of the class file (before the trait).