pub struct CxView { /* private fields */ }Expand description
An actual instantiation of a View. It’s a node in the draw tree with
children, which can be either DrawCalls or other Views.
Child Views are represented by DrawCalls that have DrawCall::sub_view_id set.
TODO(JP): this sub-View behavior is confusing, and we should instead
split out DrawCall into something like [enum DrawTreeItem { DrawCall(DrawCall), NestedView(usize) }] or so.