phase_header
Phase header molecule used by the iteration graph view.
const SEPARATOR
const SEPARATOR: &str = "\u{2500}\u{2500}";Two box-drawing dashes (──) that close the header line.
struct Component
pub struct ComponentRenders a phase header line: ◆ Phase N ──.
| Field | Type | Description |
|---|---|---|
number |
u32 | Phase number shown as Phase N. |
Implements Display.
Component::new
pub fn new(number: u32) -> SelfCreate a phase header for the given phase number.
| Parameter | Type | Description |
|---|---|---|
number |
u32 | the phase number |
| returns | Self | The header, ready to display. |