Struct freya_node_state::GradientStop 
source · pub struct GradientStop {
    pub color: Color,
    pub offset: f32,
}Fields§
§color: Color§offset: f32Trait Implementations§
source§impl Clone for GradientStop
 
impl Clone for GradientStop
source§fn clone(&self) -> GradientStop
 
fn clone(&self) -> GradientStop
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 GradientStop
 
impl Debug for GradientStop
source§impl Default for GradientStop
 
impl Default for GradientStop
source§fn default() -> GradientStop
 
fn default() -> GradientStop
Returns the “default value” for a type. Read more
source§impl Display for GradientStop
 
impl Display for GradientStop
source§impl Parse for GradientStop
 
impl Parse for GradientStop
source§impl PartialEq<GradientStop> for GradientStop
 
impl PartialEq<GradientStop> for GradientStop
source§fn eq(&self, other: &GradientStop) -> bool
 
fn eq(&self, other: &GradientStop) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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§
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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
    T: Default,
 
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
 
fn null_value() -> T
The none-equivalent value.