ClAlgebraBase

Trait ClAlgebraBase 

Source
pub trait ClAlgebraBase {
    // Required methods
    fn dim() -> usize;
    fn real_mask() -> IndexType;
    fn imag_mask() -> IndexType;
    fn proj_mask() -> IndexType;
    fn axis_name(n: usize) -> String;

    // Provided methods
    fn real_dim() -> usize { ... }
    fn imag_dim() -> usize { ... }
    fn proj_dim() -> usize { ... }
}
Expand description

An algebra trait imlemented by the declare_algebra! macro.

This trait should not be implemented manually.

Required Methods§

Provided Methods§

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§