Enum flo_canvas::GradientOp [−][src]
Expand description
Operations that can be applied to a gradient
Variants
Clears the gradient and starts a new one with the given initial colour
Tuple Fields of Create
0: ColorAdds a new gradient stop of the specified colour
Trait Implementations
Encodes this item by appending it to the specified string Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for GradientOp
impl Send for GradientOp
impl Sync for GradientOp
impl Unpin for GradientOp
impl UnwindSafe for GradientOp
Blanket Implementations
Mutably borrows from an owned value. Read more