pub struct VerticalGradient {
pub colors: GradientInput,
}
Fields§
§colors: GradientInput
Implementations§
source§impl VerticalGradient
impl VerticalGradient
pub fn new(colors: GradientInput) -> Self
Trait Implementations§
source§impl Clone for VerticalGradient
impl Clone for VerticalGradient
source§fn clone(&self) -> VerticalGradient
fn clone(&self) -> VerticalGradient
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VerticalGradient
impl Debug for VerticalGradient
source§impl ImageOperation for VerticalGradient
impl ImageOperation for VerticalGradient
fn apply_operation( &self, image: &mut SicImage ) -> Result<(), SicImageEngineError>
source§impl PartialEq<VerticalGradient> for VerticalGradient
impl PartialEq<VerticalGradient> for VerticalGradient
source§fn eq(&self, other: &VerticalGradient) -> bool
fn eq(&self, other: &VerticalGradient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VerticalGradient
impl Eq for VerticalGradient
impl StructuralEq for VerticalGradient
impl StructuralPartialEq for VerticalGradient
Auto Trait Implementations§
impl RefUnwindSafe for VerticalGradient
impl Send for VerticalGradient
impl Sync for VerticalGradient
impl Unpin for VerticalGradient
impl UnwindSafe for VerticalGradient
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