faer_entity

Trait SimdCtx

Source
pub trait SimdCtx:
    Debug
    + Copy
    + Send
    + Sync
    + 'static
    + Default {
    // Required method
    fn dispatch<Op: WithSimd>(self, f: Op) -> Op::Output;
}

Required Methods§

Source

fn dispatch<Op: WithSimd>(self, f: Op) -> Op::Output

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 SimdCtx for Arch

Source§

fn dispatch<Op: WithSimd>(self, f: Op) -> Op::Output

Source§

impl SimdCtx for ScalarArch

Source§

fn dispatch<Op: WithSimd>(self, f: Op) -> Op::Output

Implementors§