pub fn bound<N: AsRef<str>>(
decl: &Declaration,
values: &[(N, Value)],
) -> ActionSpecExpand description
decl offered on the item it acts on, with values bound to their
parameters: what a published child carries (“remove this photograph”,
“rename this album”). The other parameters stay typed; the action is
built, checked and undone exactly as the declaration is. Published on a
child, the declaration stays on the resource for scripts that name the
item, out of the palette’s way.