pub struct GradientStopPre {
pub offset: Option<PercentageValue>,
pub color: ColorU,
}
Fields§
§offset: Option<PercentageValue>
§color: ColorU
Trait Implementations§
Source§impl Clone for GradientStopPre
impl Clone for GradientStopPre
Source§fn clone(&self) -> GradientStopPre
fn clone(&self) -> GradientStopPre
Returns a copy 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 GradientStopPre
impl Debug for GradientStopPre
Source§impl Display for GradientStopPre
impl Display for GradientStopPre
Source§impl Hash for GradientStopPre
impl Hash for GradientStopPre
Source§impl Ord for GradientStopPre
impl Ord for GradientStopPre
Source§fn cmp(&self, other: &GradientStopPre) -> Ordering
fn cmp(&self, other: &GradientStopPre) -> 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 GradientStopPre
impl PartialEq for GradientStopPre
Source§impl PartialOrd for GradientStopPre
impl PartialOrd for GradientStopPre
impl Copy for GradientStopPre
impl Eq for GradientStopPre
impl StructuralPartialEq for GradientStopPre
Auto Trait Implementations§
impl Freeze for GradientStopPre
impl RefUnwindSafe for GradientStopPre
impl Send for GradientStopPre
impl Sync for GradientStopPre
impl Unpin for GradientStopPre
impl UnwindSafe for GradientStopPre
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)