Trait NDimensional

Source
pub trait NDimensional {
    const D: usize = 4_294_967_295usize;
    const LOW_D: usize = 2usize;
    const HIGH_D: usize = 137usize;
}
Expand description

This is a trait that ensures consistent implementation of N-dimensional benchmark functions

Provided Associated Constants§

Source

const D: usize = 4_294_967_295usize

This is a constant containing the correct dimensionality for the function

Source

const LOW_D: usize = 2usize

This constant describes a low value to use for testing

Source

const HIGH_D: usize = 137usize

This constant describes a high value to use for testing

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.

Implementors§