Module peaker

Source
Expand description

The module contains Priority and Peaker trait, its implementations to be used in Height and Width.

Structs§

Priority
An abstract factory to construct different Peaker methods.
PriorityLeft
A Peaker which goes over column 1 by 1, but truncates as much as possible left side.
PriorityMax
A Peaker which goes over the biggest column first.
PriorityMin
A Peaker which goes over the smallest column first.
PriorityNone
A Peaker which goes over column 1 by 1.
PriorityRight
A Peaker which goes over column 1 by 1, from right side, but truncates as much as possible right side.

Traits§

Peaker
A strategy of width function. It determines the order how a function is applied.