Struct primitives::foundation::Gradient [−][src]
pub struct Gradient {
pub kind: GradientType,
pub stops: RefCell<Vec<ColorStop>>,
}
Expand description
Represents an opaque object describing a gradient.
Fields
kind: GradientType
stops: RefCell<Vec<ColorStop>>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Gradient
impl UnwindSafe for Gradient
Blanket Implementations
Mutably borrows from an owned value. Read more