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 DrawCall
s or other View
s.
Child View
s are represented by DrawCall
s 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.