pub trait ApplyCroppedView {
type Reallocated;
fn reallocate_cropped(self) -> Self::Reallocated;
}Expand description
Realize a cropped view of the original data,
by actually removing the unwanted original pixels,
reducing the memory consumption.
Currently not supported for SpecificChannels.
Required Associated Types
type Reallocated
type Reallocated
The simpler type after cropping is realized
Required Methods
fn reallocate_cropped(self) -> Self::Reallocated
fn reallocate_cropped(self) -> Self::Reallocated
Make the cropping real by reallocating the underlying storage,
with the goal of reducing total memory usage.
Currently not supported for SpecificChannels.