Trait imageproc::integral_image::ArrayData
source · pub trait ArrayData {
type DataType;
// Required methods
fn data(&self) -> Self::DataType;
fn add(lhs: Self::DataType, other: Self::DataType) -> Self::DataType;
fn sub(lhs: Self::DataType, other: Self::DataType) -> Self::DataType;
}
Expand description
Hack to get around lack of const generics. See comment on sum_image_pixels
.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.