Trait SimdInto

Source
pub trait SimdInto<T, S> {
    // Required method
    fn simd_into(self, simd: S) -> T;
}
Expand description

Value conversion, adding a SIMD blessing.

This trait is syntactic sugar for SimdFrom and exists only to allow impl SimdInto syntax in signatures, which would otherwise require cumbersome where clauses in terms of SimdFrom.

Avoid implementing this trait directly, prefer implementing SimdFrom.

Required Methods§

Source

fn simd_into(self, simd: S) -> T

Implementors§

Source§

impl<F, T: SimdFrom<F, S>, S: Simd> SimdInto<T, S> for F