pub struct GradStop {
pub position: Scalar,
pub color: LinColor,
}Expand description
Specifies color at a particular parameter offset of the gradient
Fields§
§position: Scalar§color: LinColorImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GradStop
impl<'de> Deserialize<'de> for GradStop
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for GradStop
impl StructuralPartialEq for GradStop
Auto Trait Implementations§
impl Freeze for GradStop
impl RefUnwindSafe for GradStop
impl Send for GradStop
impl Sync for GradStop
impl Unpin for GradStop
impl UnwindSafe for GradStop
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