pub struct RadialColorStop {
pub offset: OptionAngleValue,
pub color: ColorU,
}Fields§
§offset: OptionAngleValue§color: ColorUImplementations§
Source§impl RadialColorStop
impl RadialColorStop
pub fn get_normalized_radial_stops( stops: &[RadialColorStop], ) -> Vec<NormalizedRadialColorStop>
Trait Implementations§
Source§impl Clone for RadialColorStop
impl Clone for RadialColorStop
Source§fn clone(&self) -> RadialColorStop
fn clone(&self) -> RadialColorStop
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 RadialColorStop
impl Debug for RadialColorStop
Source§impl Hash for RadialColorStop
impl Hash for RadialColorStop
Source§impl Ord for RadialColorStop
impl Ord for RadialColorStop
Source§fn cmp(&self, other: &RadialColorStop) -> Ordering
fn cmp(&self, other: &RadialColorStop) -> Ordering
1.21.0 · 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 RadialColorStop
impl PartialEq for RadialColorStop
Source§impl PartialOrd for RadialColorStop
impl PartialOrd for RadialColorStop
impl Copy for RadialColorStop
impl Eq for RadialColorStop
impl StructuralPartialEq for RadialColorStop
Auto Trait Implementations§
impl Freeze for RadialColorStop
impl RefUnwindSafe for RadialColorStop
impl Send for RadialColorStop
impl Sync for RadialColorStop
impl Unpin for RadialColorStop
impl UnwindSafe for RadialColorStop
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