# Function vec_extract

Source

    pub unsafe fn vec_extract<T, const IDX: u32>(
        a: T,
    ) -> <T as VectorExtract>::Scalarwhere
        T: VectorExtract,

🔬This is a nightly-only experimental API. (`stdarch_powerpc` #111145)
Available on (PowerPC or PowerPC-64) and target feature `altivec` and PowerPC-64 only.
Expand description

Vector Extract

### §Purpose

Returns the value of the bth element of vector a.

### §Result value

The value of each element of r is the element of a at position b modulo the number of elements of a.