/// Represents a path to a single view in the layout. pub struct ViewPath { /// List of turns to make on decision nodes when descending the view tree. /// Simple nodes (with one fixed child) are skipped. pub path: Vec, } impl ViewPath { /// Creates a new empty path. pub fn new() -> Self { ViewPath { path: Vec::new(), } } }