pub struct ImageToProcess<'a>(pub &'a DynamicImage);
Expand description
A simple wrapper extending the functionality of the given image with image-pyramid support
Tuple Fields§
§0: &'a DynamicImage
Trait Implementations§
Source§impl<'a> CanComputePyramid for ImageToProcess<'a>
impl<'a> CanComputePyramid for ImageToProcess<'a>
Source§fn compute_image_pyramid(
&self,
params: Option<&ImagePyramidParams>,
) -> Result<ImagePyramid, ImagePyramidError>
fn compute_image_pyramid( &self, params: Option<&ImagePyramidParams>, ) -> Result<ImagePyramid, ImagePyramidError>
Compute an image pyramid for this instance’s data, using the optionally
provided parameters. Read more
Auto Trait Implementations§
impl<'a> Freeze for ImageToProcess<'a>
impl<'a> RefUnwindSafe for ImageToProcess<'a>
impl<'a> Send for ImageToProcess<'a>
impl<'a> Sync for ImageToProcess<'a>
impl<'a> Unpin for ImageToProcess<'a>
impl<'a> UnwindSafe for ImageToProcess<'a>
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