Skip to main content

RunWithQuantType

Trait RunWithQuantType 

Source
pub trait RunWithQuantType {
    type Output;

    // Required method
    fn execute<Q: Scalar, S: Scalar>(self) -> Self::Output;
}
Expand description

Run an arbitrary function with the quantization types from the scheme. Useful when concrete types aren’t available.

Required Associated Types§

Required Methods§

Source

fn execute<Q: Scalar, S: Scalar>(self) -> Self::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.

Implementors§