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