pub struct GradientStops { /* private fields */ }Expand description
Up to 8 gradient color stops. Fixed-size array preserves the Copy bound.
Implementations§
Source§impl GradientStops
impl GradientStops
Trait Implementations§
Source§impl Clone for GradientStops
impl Clone for GradientStops
Source§fn clone(&self) -> GradientStops
fn clone(&self) -> GradientStops
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GradientStops
Source§impl Debug for GradientStops
impl Debug for GradientStops
Source§impl PartialEq for GradientStops
impl PartialEq for GradientStops
impl StructuralPartialEq for GradientStops
Auto Trait Implementations§
impl Freeze for GradientStops
impl RefUnwindSafe for GradientStops
impl Send for GradientStops
impl Sync for GradientStops
impl Unpin for GradientStops
impl UnsafeUnpin for GradientStops
impl UnwindSafe for GradientStops
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