Address

Trait Address 

Source
pub trait Address<V, const DIMENSION: usize>:
    Clone
    + Debug
    + From<[V; DIMENSION]>
    + Into<[V; DIMENSION]>
    + Index<Dimension, Output = V> { }
Expand description

Addresses must be convertible to and from a slice containing one V for each of the (fixed number) of dimensions for that Tensor.

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§

Source§

impl<I> Address<I, 2> for MatrixAddress<I>
where I: Coordinate,