Trait MutNdarray3

Source
pub trait MutNdarray3 {
    type Out;

    // Required method
    fn mut_ndarray3(self) -> Self::Out;
}
Expand description

Mutably borrows a 3d type to a ndarray 2d array type.

Coordinates are in (channel, row, col), where channel is typically a color channel, or they are in (z, y, x).

This uses an associated type to avoid ambiguity for the compiler. By calling this, the compiler always knows the returned type.

Required Associated Types§

Required Methods§

Source

fn mut_ndarray3(self) -> Self::Out

Implementors§