Enum iced_graphics::gradient::Gradient
source · pub enum Gradient {
Linear(Linear),
}
Expand description
A fill which linearly interpolates colors along a direction.
For a gradient which can be used as a fill for a background of a widget, see crate::core::Gradient
.
Variants§
Linear(Linear)
A linear gradient interpolates colors along a direction from its start
to its end
point.
Implementations§
Trait Implementations§
source§impl PartialEq for Gradient
impl PartialEq for Gradient
impl StructuralPartialEq for Gradient
Auto Trait Implementations§
impl RefUnwindSafe for Gradient
impl Send for Gradient
impl Sync for Gradient
impl Unpin for Gradient
impl UnwindSafe for Gradient
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