Struct image2::Input [−][src]
pub struct Input<'a, T: 'a + Type, C: 'a + Color> {
pub images: Vec<&'a Image<T, C>>,
pub pixel: Option<(Point, Pixel<C>)>,
}
Expand description
Filter input
Fields
images: Vec<&'a Image<T, C>>
Input images
pixel: Option<(Point, Pixel<C>)>
Input pixel
Implementations
Add chained pixel data
Remove chained pixel data
Get input pixel at pt
- if pt
matches the stored pixel from a preview computation then
that pixel will be returned instead of the actual input pixel. If image_index
is not
None
then input from the image with that index will be used.
Get input float value - if pt
matches the stored pixel from a preview computation then
that pixel will be returned instead of the actual input pixel. If image_index
is not
None
then input from the image with that index will be used.
Trait Implementations
Auto Trait Implementations
impl<'a, T, C> RefUnwindSafe for Input<'a, T, C> where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, C> UnwindSafe for Input<'a, T, C> where
C: UnwindSafe + RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more