phase_header

Phase header molecule used by the iteration graph view.

const SEPARATOR

source

const SEPARATOR: &str = "\u{2500}\u{2500}";

Two box-drawing dashes (──) that close the header line.

struct Component

source

pub struct Component

Renders a phase header line: ◆ Phase N ──.

Field Type Description
number u32 Phase number shown as Phase N.

Implements Display.

Component::new

source

pub fn new(number: u32) -> Self

Create a phase header for the given phase number.

Parameter Type Description
number u32 the phase number
returns Self The header, ready to display.