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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more