Struct tuix::GradientStop [−]
Fields
position: Units
color: Color
Implementations
impl GradientStop
impl GradientStop
pub fn new(position: Units, color: Color) -> GradientStop
Trait Implementations
impl Clone for GradientStop
impl Clone for GradientStop
pub fn clone(&self) -> GradientStop
pub fn clone(&self) -> GradientStop
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for GradientStop
impl Debug for GradientStop
impl Default for GradientStop
impl Default for GradientStop
pub fn default() -> GradientStop
pub fn default() -> GradientStop
Returns the “default value” for a type. Read more
impl PartialEq<GradientStop> for GradientStop
impl PartialEq<GradientStop> for GradientStop
pub fn eq(&self, other: &GradientStop) -> bool
pub fn eq(&self, other: &GradientStop) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &GradientStop) -> bool
pub fn ne(&self, other: &GradientStop) -> bool
This method tests for !=
.
impl StructuralPartialEq for GradientStop
Auto Trait Implementations
impl RefUnwindSafe for GradientStop
impl Send for GradientStop
impl Sync for GradientStop
impl Unpin for GradientStop
impl UnwindSafe for GradientStop
Blanket Implementations
Mutably borrows from an owned value. Read more