.|=(_:_:)
Replaces a with the pointwise logical disjunction of a and b.
static func .|= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>) Equivalent to:
for i in a.indices {
a[i] = a[i] || b[i]
}Replaces a with the pointwise logical disjunction of a and b.
static func .|= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>) where Storage == SIMD4<Int>Equivalent to:
for i in a.indices {
a[i] = a[i] || b[i]
}import Swift@frozen struct SIMDMask<Storage> where Storage : SIMD, Storage.Scalar : FixedWidthInteger, Storage.Scalar : SignedInteger@frozen struct SIMD4<Scalar> where Scalar : SIMDScalarA vector of four scalar values.
static func .! (a: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise logical negation of the input.
static func .!= (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask with the result of a pointwise inequality comparison.
static func .& (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise logical conjunction of the inputs.
static func .&= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>) Replaces a with the pointwise logical conjunction of a and b.
static func .== (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask with the result of a pointwise equality comparison.
static func .^ (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise exclusive or of the inputs.
static func .^= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>) Replaces a with the pointwise exclusive or of a and b.
static func .| (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage> A vector mask that is the pointwise logical disjunction of the inputs.
mutating func replace(with other: SIMDMask<Storage>, where mask: SIMDMask<Storage>) Replaces elements of this vector with elements of other in the lanes where mask is true.
func replacing(with other: SIMDMask<Storage>, where mask: SIMDMask<Storage>) -> SIMDMask<Storage> Returns a copy of this vector, with elements replaced by elements of other in the lanes where mask is true.