pub struct RgbLoader<T>(_);
Expand description
rgb
crate color type loader.
This does minimal checks about data_type
and label
.
If you want to check property type precisely, you should make another
loader type by purpose.
Note that f32
and f64
is NOT converted automatically by this loader.
Implementations§
Trait Implementations§
source§impl<T: Ord> Ord for RgbLoader<T>
impl<T: Ord> Ord for RgbLoader<T>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq> PartialEq<RgbLoader<T>> for RgbLoader<T>
impl<T: PartialEq> PartialEq<RgbLoader<T>> for RgbLoader<T>
source§impl<T: PartialOrd> PartialOrd<RgbLoader<T>> for RgbLoader<T>
impl<T: PartialOrd> PartialOrd<RgbLoader<T>> for RgbLoader<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more