Macro dep_obj::impl_dep_obj
source · [−]macro_rules! impl_dep_obj {
(
$($token:tt)+
) => { ... };
}
Expand description
Specifies dependency objects list and component_fielding methods in simplified form.
Accepts input in the following form:
ⓘ
$(
$Id:ty
|
<$generics> $Id:ty $(where $where_clause)?
)
{
$(
fn<$DepObjKey:tt>() -> $(optional)? $(($ty:ty) | dyn($tr:path)) {
$StatePart:ty $({ . $state_part_field:tt })? | . $component_field:tt
}
)*
}