Enum pax_std::types::ColorVariant
source · pub enum ColorVariant {
Hlca([f64; 4]),
Hlc([f64; 3]),
Rgba([f64; 4]),
Rgb([f64; 3]),
}Variants§
Trait Implementations§
source§impl Clone for ColorVariant
impl Clone for ColorVariant
source§impl Debug for ColorVariant
impl Debug for ColorVariant
source§impl Default for ColorVariant
impl Default for ColorVariant
source§impl Interpolatable for ColorVariant
impl Interpolatable for ColorVariant
fn interpolate(&self, _other: &Self, _t: f64) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for ColorVariant
impl Send for ColorVariant
impl Sync for ColorVariant
impl Unpin for ColorVariant
impl UnwindSafe for ColorVariant
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
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.