pub struct GradientStopSpec {
pub pos: f32,
pub color: RgbaSpec,
}Fields§
§pos: f32§color: RgbaSpecTrait Implementations§
Source§impl Clone for GradientStopSpec
impl Clone for GradientStopSpec
Source§fn clone(&self) -> GradientStopSpec
fn clone(&self) -> GradientStopSpec
Returns a duplicate 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 GradientStopSpec
impl Debug for GradientStopSpec
Source§impl PartialEq for GradientStopSpec
impl PartialEq for GradientStopSpec
impl Copy for GradientStopSpec
impl StructuralPartialEq for GradientStopSpec
Auto Trait Implementations§
impl Freeze for GradientStopSpec
impl RefUnwindSafe for GradientStopSpec
impl Send for GradientStopSpec
impl Sync for GradientStopSpec
impl Unpin for GradientStopSpec
impl UnsafeUnpin for GradientStopSpec
impl UnwindSafe for GradientStopSpec
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