Element

Trait Element 

Source
pub trait Element:
    'static
    + Copy
    + Debug {
    // Required method
    fn vtype() -> VType;
}
Expand description

A trait to identify canonical vector types.

Required Methods§

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 Element for bool

NOTE: for now, we have chosen to store boolean values as byte-sized booleans instead of packed into a bit mask, this is typically more efficient for SIMD compute operations. For masks, we still use bit-packed booleans.

Source§

impl Element for f32

Source§

impl Element for f64

Source§

impl Element for i8

Source§

impl Element for i16

Source§

impl Element for i32

Source§

impl Element for i64

Source§

impl Element for u8

Source§

impl Element for u16

Source§

impl Element for u32

Source§

impl Element for u64

Source§

impl Element for f16

Implementors§