AlignTo

Trait AlignTo 

Source
pub trait AlignTo
where Self: Pod + Default + PartialEq + From<Self::Elem>, Self::Elem: Pod + Default + PartialEq,
{ type Elem; // Provided methods fn simd_align_to( slice: &[Self::Elem], ) -> (&[Self::Elem], &[Self], &[Self::Elem]) { ... } fn simd_align_to_mut( slice: &mut [Self::Elem], ) -> (&mut [Self::Elem], &mut [Self], &mut [Self::Elem]) { ... } }

Required Associated Types§

Provided Methods§

Source

fn simd_align_to( slice: &[Self::Elem], ) -> (&[Self::Elem], &[Self], &[Self::Elem])

Source

fn simd_align_to_mut( slice: &mut [Self::Elem], ) -> (&mut [Self::Elem], &mut [Self], &mut [Self::Elem])

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§