Skip to main content

U32SimdVec

Trait U32SimdVec 

Source
pub trait U32SimdVec:
    Sized
    + Copy
    + Debug
    + Send
    + Sync {
    type Descriptor: SimdDescriptor;

    const LEN: usize;

    // Required methods
    fn bitcast_to_i32(
        self,
    ) -> <<Self as U32SimdVec>::Descriptor as SimdDescriptor>::I32Vec;
    fn shr<const AMOUNT_U: u32, const AMOUNT_I: i32>(self) -> Self;
}

Required Associated Constants§

Required Associated Types§

Required Methods§

Source

fn bitcast_to_i32( self, ) -> <<Self as U32SimdVec>::Descriptor as SimdDescriptor>::I32Vec

Source

fn shr<const AMOUNT_U: u32, const AMOUNT_I: i32>(self) -> Self

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.

Implementations on Foreign Types§

Source§

impl U32SimdVec for Wrapping<u32>

Source§

const LEN: usize = 1

Source§

type Descriptor = ScalarDescriptor

Source§

fn bitcast_to_i32(self) -> Wrapping<i32>

Source§

fn shr<const AMOUNT_U: u32, const AMOUNT_I: i32>(self) -> Self

Implementors§