pub fn node_directions(
root: &UiNode,
surface: TextDirection,
ctx: Option<&ConditionContext>,
) -> IndexMap<String, TextDirection>Expand description
Every node’s direction: its own style direction (resolved against
ctx when given), else its parent’s; the root’s parent is the surface.
Slots inherit from their owner. A template’s items take the direction of
the node that renders them.