Trait exr::image::crop::InspectSample [−][src]
pub trait InspectSample: GetBounds { type Sample; fn inspect_sample(&self, local_index: Vec2<usize>) -> Self::Sample; }
Expand description
Inspect the pixels in this image to determine where to crop some away
Associated Types
Required methods
fn inspect_sample(&self, local_index: Vec2<usize>) -> Self::Sample
[src]
fn inspect_sample(&self, local_index: Vec2<usize>) -> Self::Sample
[src]Index is not in world coordinates. Position (0,0)
always represents the bottom left pixel.
Implementors
impl InspectSample for Layer<AnyChannels<FlatSamples>>
[src]
impl InspectSample for Layer<AnyChannels<FlatSamples>>
[src]type Sample = FlatSamplesPixel
fn inspect_sample(&self, local_index: Vec2<usize>) -> FlatSamplesPixel
[src]
impl<Samples, Channels> InspectSample for Layer<SpecificChannels<Samples, Channels>> where
Samples: GetPixel,
[src]
impl<Samples, Channels> InspectSample for Layer<SpecificChannels<Samples, Channels>> where
Samples: GetPixel,
[src]