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.

See also View and ViewArea.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.