[−][src]Trait building_blocks::prelude::Array
When a lattice map implements Array
, that means there is some underlying array with the
location and shape dictated by the extent.
For the sake of generic impls, if the same map also implements Get*<Stride>
, it must use the
same data layout as ArrayN
.
Associated Types
type Indexer: ArrayIndexer<N>
Required methods
Loading content...Provided methods
fn for_each_point_and_stride(
&self,
extent: &ExtentN<N>,
f: impl FnMut(PointN<N>, Stride)
)
&self,
extent: &ExtentN<N>,
f: impl FnMut(PointN<N>, Stride)
)
fn stride_from_local_point(&self, p: &Local<N>) -> Stride
fn strides_from_local_points(&self, points: &[Local<N>], strides: &mut [Stride])
Implementors
impl<'a, N, M, F> Array<N> for TransformMap<'a, M, F> where
M: Array<N>,
[src]
M: Array<N>,
impl<N, T> Array<N> for ArrayN<N, T> where
N: ArrayIndexer<N>,
[src]
N: ArrayIndexer<N>,