Generic Type Method

random(using:)

Returns a vector mask with true or false randomly assigned in each lane, using the given generator as a source for randomness.

Declaration

static func random<T>(using generator: inout T) -> SIMDMask<Storage> where T : RandomNumberGenerator