macro_rules! impl_action {
    (
        $type: ident for $target: ty: with
        $($len_field: tt $(($($len_call: tt),*))?).+ as len,
        $($target_field: tt $(($($target_call: tt),*))?).+ as target
    ) => { ... };
    (
        $type: ident for $target: ty: with
        $($len_field: tt $(($($len_call: tt),*))?).+ as len,
        $($target_field: tt $(($($target_call: tt),*))?).+ as target
        no_state_change
    ) => { ... };
    (
        for $target: ty:
        $(
            $type: ident with
            $($len_field: tt $(($($len_call: tt),*))?).+ as len,
            $($target_field: tt $(($($target_call: tt),*))?).+ as target
            $($rest: tt)?
        ),+
    ) => { ... };
}
Expand description

Implements Action trait with supplied params for the given ident(s).