1pub trait IntoVec<T> {
3 fn into_vec(self) -> T;
5}
6
7#[cfg(target_feature = "avx2")]
8mod into_vec {
9 use super::IntoVec;
10 use crate::convertion::VecConvertor;
11 use crate::simd::_256bit::*;
12 use hpt_macros::impl_into_vec;
13 impl_into_vec!();
14}
15
16#[cfg(all(
17 any(target_feature = "sse", target_arch = "arm", target_arch = "aarch64"),
18 not(target_feature = "avx2")
19))]
20mod into_vec {
21 use super::IntoVec;
22 use crate::convertion::VecConvertor;
23 use crate::simd::_128bit::*;
24 use hpt_macros::impl_into_vec;
25 impl_into_vec!();
26}