Treatment fill

flow/vec/u16::fill


Parameters

↳ var value: u16 = 0

Inputs

⇥ pattern: Stream<Vec<void>>

Outputs

↦ filled: Stream<Vec<u16>>


Fill a pattern stream with a u16 value.

graph LR
 T("fill(value=🟧)")
 B["…[🟦 🟦][🟦][🟦 🟦 🟦]…"] -->|pattern| T

 T -->|filled| O["…[🟧 🟧][🟧][🟧 🟧 🟧]…"]

 style B fill:#ffff,stroke:#ffff
 style O fill:#ffff,stroke:#ffff