pub struct GradientStack { /* private fields */ }Expand description
A stack of gradients used in the background-image property.
Can be created with a GradientStackBuilder
Trait Implementations§
Source§impl Clone for GradientStack
impl Clone for GradientStack
Source§fn clone(&self) -> GradientStack
fn clone(&self) -> GradientStack
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 moreSource§impl Debug for GradientStack
impl Debug for GradientStack
Source§impl Display for GradientStack
impl Display for GradientStack
Source§impl PartialEq for GradientStack
impl PartialEq for GradientStack
Source§fn eq(&self, other: &GradientStack) -> bool
fn eq(&self, other: &GradientStack) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GradientStack
Auto Trait Implementations§
impl Freeze for GradientStack
impl RefUnwindSafe for GradientStack
impl Send for GradientStack
impl Sync for GradientStack
impl Unpin for GradientStack
impl UnsafeUnpin for GradientStack
impl UnwindSafe for GradientStack
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