#[repr(C)]pub enum MethodForLargest {
Auto = 0,
Normal = 1,
Luminosity = 2,
}Expand description
Method for finding the largest dimension for splitting, and sorting by that component.
Variants§
Auto = 0
Normal = 1
Simply comparing the range in RGB space
Luminosity = 2
Transforming into luminosities before the comparison
Trait Implementations§
Source§impl Clone for MethodForLargest
impl Clone for MethodForLargest
Source§fn clone(&self) -> MethodForLargest
fn clone(&self) -> MethodForLargest
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 MethodForLargest
impl Debug for MethodForLargest
Source§impl Hash for MethodForLargest
impl Hash for MethodForLargest
Source§impl PartialEq for MethodForLargest
impl PartialEq for MethodForLargest
impl Copy for MethodForLargest
impl Eq for MethodForLargest
impl StructuralPartialEq for MethodForLargest
Auto Trait Implementations§
impl Freeze for MethodForLargest
impl RefUnwindSafe for MethodForLargest
impl Send for MethodForLargest
impl Sync for MethodForLargest
impl Unpin for MethodForLargest
impl UnwindSafe for MethodForLargest
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