View Source Plox.FixedValuesScale (Plox v0.1.1)
A scale that represents an arbitrary set of values.
It places the values in the given order with equal distance between them.
This struct implements the Plox.Scale
protocol.
Summary
Functions
Creates a new Plox.FixedValuesScale
struct
Types
Functions
@spec new(values :: Enumerable.t()) :: t()
Creates a new Plox.FixedValuesScale
struct
Accepts any enumerable.