pub struct CxDebugFlags {
    pub draw_tree: CxDebugDrawTree,
    pub disable_draw_call_batching: bool,
    pub enable_layout_debugger: bool,
}
Expand description

Flags that can be set that enable debug functionality. See Cx::debug_flags_mut for an example.

Fields

draw_tree: CxDebugDrawTreedisable_draw_call_batching: bool

Makes it so every call to Cx::add_instances gets a fresh DrawCall. This is useful for debugging, since the batching of draw calls can be confusing sometimes (and you should never rely on it happening).

enable_layout_debugger: bool

Enables overlay with borders of CxLayoutBox rects

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.