pub fn offered_on(node: &CommandNode, surface: Surface) -> boolExpand description
Whether a projection on this surface should offer the command at all.
A completion asks this before it offers a candidate, so an unavailable command is not suggested prominently — and the reason it carries is what a shell that can show one displays.