pub struct ImageAndTransform<Pix, F>where
Pix: Pixel,{ /* private fields */ }Expand description
Source image together with one or more PixelTransforms. Transforms are applied lazily,
once Self::transform() is called.
Implementations§
Source§impl<Pix, F> ImageAndTransform<Pix, F>
impl<Pix, F> ImageAndTransform<Pix, F>
Trait Implementations§
Source§impl<Pix, F, G> ApplyTransform<Pix, G> for ImageAndTransform<Pix, F>
impl<Pix, F, G> ApplyTransform<Pix, G> for ImageAndTransform<Pix, F>
Source§type CombinedTransform = (F, G)
type CombinedTransform = (F, G)
Combined transform after applying
transform.Source§fn apply(self, transform: G) -> ImageAndTransform<Pix, (F, G)>
fn apply(self, transform: G) -> ImageAndTransform<Pix, (F, G)>
Appends
transform to the list of transforms to be performed on the source image.Auto Trait Implementations§
impl<Pix, F> Freeze for ImageAndTransform<Pix, F>where
F: Freeze,
impl<Pix, F> RefUnwindSafe for ImageAndTransform<Pix, F>
impl<Pix, F> Send for ImageAndTransform<Pix, F>
impl<Pix, F> Sync for ImageAndTransform<Pix, F>
impl<Pix, F> Unpin for ImageAndTransform<Pix, F>
impl<Pix, F> UnwindSafe for ImageAndTransform<Pix, F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more