pub enum ThresholdKind {
Binary,
}Expand description
Thresholding algorithm selector.
Variants§
Binary
Binary threshold: pixels strictly greater than thresh become max_val, others become 0.
Trait Implementations§
Source§impl Clone for ThresholdKind
impl Clone for ThresholdKind
Source§fn clone(&self) -> ThresholdKind
fn clone(&self) -> ThresholdKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThresholdKind
impl Debug for ThresholdKind
Source§impl PartialEq for ThresholdKind
impl PartialEq for ThresholdKind
impl Copy for ThresholdKind
impl Eq for ThresholdKind
impl StructuralPartialEq for ThresholdKind
Auto Trait Implementations§
impl Freeze for ThresholdKind
impl RefUnwindSafe for ThresholdKind
impl Send for ThresholdKind
impl Sync for ThresholdKind
impl Unpin for ThresholdKind
impl UnsafeUnpin for ThresholdKind
impl UnwindSafe for ThresholdKind
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