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.
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.