cgp-component 0.4.1-alpha

Context-generic programming core component traits
Documentation
1
2
3
4
5
6
7
#[diagnostic::on_unimplemented(
    message = "{Self} does not contain any DelegateComponent entry for {Name}",
    note = "You might want to implement the provider trait for {Name} on {Self}"
)]
pub trait DelegateComponent<Name> {
    type Delegate;
}