BrickWidgetExt

Trait BrickWidgetExt 

Source
pub trait BrickWidgetExt: Brick {
    // Provided method
    fn verify_for_render(&self) -> Result<(), String> { ... }
}
Expand description

Extension trait for adding Brick verification to the render pipeline.

Provided Methods§

Source

fn verify_for_render(&self) -> Result<(), String>

Verify this brick before rendering.

Returns an error if any assertion fails.

Implementors§