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 (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 GradientStopSpec
Source§impl Debug for GradientStopSpec
impl Debug for GradientStopSpec
Source§impl PartialEq for GradientStopSpec
impl PartialEq for GradientStopSpec
Source§fn eq(&self, other: &GradientStopSpec) -> bool
fn eq(&self, other: &GradientStopSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.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