Skip to main content

Module brick_types

Module brick_types 

Source
Expand description

Native Brick types for presentar-core.

These types define the Brick Architecture interface natively, eliminating the heavyweight jugar-probar dependency from the presentar-core production build. The types are API-compatible with jugar_probar::brick::*.

§Design Rationale (CB-081)

jugar-probar is a test framework with heavy transitive deps (image, rav1e, mp4, etc.). Pulling it as a production dependency inflates all downstream consumers. By defining the Brick trait natively in presentar-core, we keep the architecture while eliminating ~100 transitive dependencies.

Structs§

BrickBudget
Performance budget for a brick.
BrickVerification
Result of verifying brick assertions
BudgetViolation
Budget violation report

Enums§

BrickAssertion
Brick assertion that must be verified at runtime.
BrickError
Yuan Gate: Zero-swallow error handling for bricks
BrickPhase
Rendering phase for budget tracking

Traits§

Brick
Core Brick trait - the foundation of the Brick Architecture.

Type Aliases§

BrickResult
Result type for brick operations