#[repr(C)]pub struct NormalizedLinearColorStop {
pub offset: PercentageValue,
pub color: ColorU,
}
Fields§
§offset: PercentageValue
§color: ColorU
Trait Implementations§
Source§impl Clone for NormalizedLinearColorStop
impl Clone for NormalizedLinearColorStop
Source§fn clone(&self) -> NormalizedLinearColorStop
fn clone(&self) -> NormalizedLinearColorStop
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 NormalizedLinearColorStop
impl Debug for NormalizedLinearColorStop
Source§impl FromIterator<NormalizedLinearColorStop> for NormalizedLinearColorStopVec
impl FromIterator<NormalizedLinearColorStop> for NormalizedLinearColorStopVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = NormalizedLinearColorStop>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = NormalizedLinearColorStop>,
Creates a value from an iterator. Read more
Source§impl Hash for NormalizedLinearColorStop
impl Hash for NormalizedLinearColorStop
Source§impl Ord for NormalizedLinearColorStop
impl Ord for NormalizedLinearColorStop
Source§fn cmp(&self, other: &NormalizedLinearColorStop) -> Ordering
fn cmp(&self, other: &NormalizedLinearColorStop) -> 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 PartialOrd for NormalizedLinearColorStop
impl PartialOrd for NormalizedLinearColorStop
Source§impl PrintAsCssValue for NormalizedLinearColorStop
impl PrintAsCssValue for NormalizedLinearColorStop
fn print_as_css_value(&self) -> String
impl Eq for NormalizedLinearColorStop
impl StructuralPartialEq for NormalizedLinearColorStop
Auto Trait Implementations§
impl Freeze for NormalizedLinearColorStop
impl RefUnwindSafe for NormalizedLinearColorStop
impl Send for NormalizedLinearColorStop
impl Sync for NormalizedLinearColorStop
impl Unpin for NormalizedLinearColorStop
impl UnwindSafe for NormalizedLinearColorStop
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