Trait SimdCtx

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

Required Methods§

Source

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

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>(self, f: Op) -> <Op as WithSimd>::Output
where Op: WithSimd,

Implementors§