pub enum GenericSampleMethod<Img> {
All,
Ignore,
Image(Img),
}
Expand description
Method used for sampling an example image.
Variants§
All
All pixels in the example image can be sampled.
Ignore
No pixels in the example image will be sampled.
Image(Img)
Pixels are selectively sampled based on an image.
Auto Trait Implementations§
impl<Img> Freeze for GenericSampleMethod<Img>where
Img: Freeze,
impl<Img> RefUnwindSafe for GenericSampleMethod<Img>where
Img: RefUnwindSafe,
impl<Img> Send for GenericSampleMethod<Img>where
Img: Send,
impl<Img> Sync for GenericSampleMethod<Img>where
Img: Sync,
impl<Img> Unpin for GenericSampleMethod<Img>where
Img: Unpin,
impl<Img> UnwindSafe for GenericSampleMethod<Img>where
Img: UnwindSafe,
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