Skip to main content

PointProvider

Trait PointProvider 

Source
pub trait PointProvider {
    // Required methods
    fn lab_from_int(argb: &Argb) -> Lab;
    fn lab_to_int(lab: &Lab) -> Argb;
    fn distance(one: &Lab, two: &Lab) -> f64;
}

Required Methods§

Source

fn lab_from_int(argb: &Argb) -> Lab

Source

fn lab_to_int(lab: &Lab) -> Argb

Source

fn distance(one: &Lab, two: &Lab) -> f64

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§