pub struct MorphColorStop {
pub ratio: u8,
pub morph_ratio: u8,
pub color: StraightSRgba8,
pub morph_color: StraightSRgba8,
}Fields§
§ratio: u8§morph_ratio: u8§color: StraightSRgba8§morph_color: StraightSRgba8Trait Implementations§
Source§impl Clone for MorphColorStop
impl Clone for MorphColorStop
Source§fn clone(&self) -> MorphColorStop
fn clone(&self) -> MorphColorStop
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 MorphColorStop
Source§impl Debug for MorphColorStop
impl Debug for MorphColorStop
Source§impl<'de> Deserialize<'de> for MorphColorStop
impl<'de> Deserialize<'de> for MorphColorStop
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 Eq for MorphColorStop
Source§impl Hash for MorphColorStop
impl Hash for MorphColorStop
Source§impl Ord for MorphColorStop
impl Ord for MorphColorStop
Source§fn cmp(&self, other: &MorphColorStop) -> Ordering
fn cmp(&self, other: &MorphColorStop) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MorphColorStop
impl PartialEq for MorphColorStop
Source§fn eq(&self, other: &MorphColorStop) -> bool
fn eq(&self, other: &MorphColorStop) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MorphColorStop
impl PartialOrd for MorphColorStop
Source§impl Serialize for MorphColorStop
impl Serialize for MorphColorStop
impl StructuralPartialEq for MorphColorStop
Auto Trait Implementations§
impl Freeze for MorphColorStop
impl RefUnwindSafe for MorphColorStop
impl Send for MorphColorStop
impl Sync for MorphColorStop
impl Unpin for MorphColorStop
impl UnsafeUnpin for MorphColorStop
impl UnwindSafe for MorphColorStop
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