Node.startBranchAction

Start a branch action (or multiple) to run on children of this node.

This should only be used inside drawImpl. The action will stop as soon as the return value goes out of scope.

  1. auto startBranchAction(BranchAction action)
    class Node
    protected final
    startBranchAction
    in (action, "Node.runAction(TreeAction) called with a `null` argument")
  2. auto startBranchAction(T range)

Parameters

action BranchAction

Branch action to run. A branch action implements a subset of tree action's functionality, guaraneeing correct behavior when combined with this.

Return Value

Type: auto

A RAII struct that stops all started actions as soon as the struct leaves the scope.

Meta