Macro codegen::component_depends[][src]

macro_rules! component_depends {
    ($id : ty = ($($required : ty), * $(,) ?) + ? ($($optional : ty), * $(,) ?)) => { ... };
}
Expand description

Concise syntax to implement RequiredComponent and OptionalComponent for many types.