Skip to main content

FixedDimensionKernelBuilder

Trait FixedDimensionKernelBuilder 

Source
pub trait FixedDimensionKernelBuilder<T> {
    type Params;

    // Required method
    fn build() -> Result<Array3<T>, Error>;

    // Provided method
    fn build_with_params(_p: Self::Params) -> Result<Array3<T>, Error> { ... }
}
Expand description

Create a kernel with a fixed dimension

Required Associated Types§

Source

type Params

Parameters used in construction of the kernel

Required Methods§

Source

fn build() -> Result<Array3<T>, Error>

Build a fixed size kernel

Provided Methods§

Source

fn build_with_params(_p: Self::Params) -> Result<Array3<T>, Error>

Build a fixed size kernel with the given parameters

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§