Treatment size
std/flow/vec::size
Generics
◻ T (any)
Inputs
⇥ vector: Stream<Vec<T>>
Outputs
↦ size: Stream<u64>
Gives size of vectors passing through stream.
For each vector one size value is sent, giving the number of elements contained within matching vector.
graph LR
T("size()")
V["[🟦 🟦][🟦][][🟦 🟦 🟦]…"] -->|vector| T
T -->|size| P["2️⃣ 1️⃣ 0️⃣ 3️⃣ …"]
style V fill:#ffff,stroke:#ffff
style P fill:#ffff,stroke:#ffff