Skip to main content

KernelTransformer

Trait KernelTransformer 

Source
trait KernelTransformer<F, I> {
    // Required method
    fn transform(input: F) -> I;
}

Required Methods§

Source

fn transform(input: F) -> I

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 KernelTransformer<f32, f32> for f32

Source§

fn transform(input: f32) -> f32

Source§

impl KernelTransformer<f32, f32> for u16

Source§

fn transform(input: f32) -> f32

Source§

impl KernelTransformer<f32, u32> for u8

Source§

fn transform(input: f32) -> u32

Source§

impl KernelTransformer<f32, u32> for u16

Source§

fn transform(input: f32) -> u32

Implementors§