Derive Macro ExtensionsRef
#[derive(ExtensionsRef)]
{
// Attributes available to this derive:
#[extensions_ref]
}
Expand description
Derive rama_core::extensions::ExtensionsRef by forwarding to one field.
The field is picked by the first rule that matches:
- the field marked
#[extensions_ref] - the field named
inner - the only field of type
Extensions - the only field of a single-field struct
Otherwise it is a compile error. Structs only.