Storage for a vector of two integers.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
Declaration
@frozen @_alignment(16) struct SIMD2Storage
@frozen @_alignment(8) struct SIMD2Storage
Storage for a vector of two integers.
SDK
Framework
@frozen @_alignment(16) struct SIMD2Storage
@frozen @_alignment(8) struct SIMD2Storage
typealias Int.SIMD2Storage.Scalar
The type of scalars in the vector space.
init()
Creates a vector with zero in all lanes.
var scalarCount : Int
The number of scalars, or elements, in the vector.
static var scalarCount : Int
The number of scalars, or elements, in a vector of this type.
subscript(Int) -> Int
Accesses the element at the specified index.
struct Int.SIMD4Storage
Storage for a vector of four integers.
struct Int.SIMD8Storage
Storage for a vector of eight integers.
struct Int.SIMD16Storage
Storage for a vector of 16 integers.
struct Int.SIMD32Storage
Storage for a vector of 32 integers.
struct Int.SIMD64Storage
Storage for a vector of 64 integers.