unit-threaded ~master (2021-10-11T15:13:26Z)
Home
Dub
Repo
Gen
unit_threaded
randomized
gen
Undocumented in source.
struct
Gen
(T, T low = minimum!T, T high = maximum!T)
struct
Gen
(T, T low = 0, T high = 6.022E23)
struct
Gen
(T, size_t low = 0, size_t high = 32)
struct
Gen
(T, size_t low = 1, size_t high = 1024)
struct
Gen
(T)
struct
Gen
(T, T low = minimum!T, T high = maximum!T)
struct
Gen
(T)
struct
Gen (
T
)
if
(
from
!"std.traits".
isAggregateType
!
T
) {
import
std
.
traits
:
Fields
;
;
import
std
.
random
:
Random
;
;
AggregateTuple
!(
Fields
!
T
)
generators
;
alias
Value
=
T
;
Value
value
;
T
gen
(Random rnd);
inout
(
T
)
opCall
();
}
Alias This
opCall
Members
Aliases
Value
alias
Value
=
T
Undocumented in source.
Functions
gen
T
gen
(Random rnd)
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
inout
(
T
)
opCall
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
generators
AggregateTuple
!(
Fields
!
T
)
generators
;
Undocumented in source.
value
Value
value
;
Undocumented in source.
Meta
Source
See Implementation
unit_threaded
randomized
gen
mixin templates
GenNumeric
structs
Gen
GenASCIIString
templates
isGen