switchSlot

A switch slot will try each of its children and pick the first one that fits the available space. If the a node is too large to fit, it will try the next one in the list until it finds one that matches, or the last node in the list.

null is an acceptable value, indicating that no node should be drawn.

@safe
alias switchSlot = simpleConstructor!SwitchSlot

Meta