Skip to content

WeightedGenerator[T: T]

[Source]

A generator with an associated weight, used in Generators.frequency.

type WeightedGenerator[T: T] is
  (USize val , Generator[T] box)

Type Alias For