Skip to main content

SimdElement

Trait SimdElement 

Source
pub(crate) unsafe trait SimdElement:
    Copy
    + PartialEq
    + Debug {
    const ZERO: Self = _;
}
Expand description

SAFETY: All bits patterns must be valid

Provided Associated Constants§

Source

const ZERO: Self = _

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§