Enum components::GradientType [−]
pub enum GradientType { Linear(LinearGradient), Radial(RadialGradient), }
A representation of the RGB (Red, Green, Blue) color space.
Variants
Linear(LinearGradient)
Radial(RadialGradient)
Trait Implementations
impl Clone for GradientType
impl Clone for GradientType
pub fn clone(&self) -> GradientType
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GradientType
impl Copy for GradientType
impl Default for GradientType
impl Default for GradientType
pub fn default() -> GradientType
Auto Trait Implementations
impl RefUnwindSafe for GradientType
impl RefUnwindSafe for GradientType
impl Send for GradientType
impl Send for GradientType
impl Sync for GradientType
impl Sync for GradientType
impl Unpin for GradientType
impl Unpin for GradientType
impl UnwindSafe for GradientType
impl UnwindSafe for GradientType
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
pub fn into_color(self) -> To
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,