pub struct ImmutableGradientStop { /* private fields */ }Expand description
Describes the location and color of a transition point in a gradient.
Implementations§
Trait Implementations§
Source§impl Clone for ImmutableGradientStop
impl Clone for ImmutableGradientStop
impl Copy for ImmutableGradientStop
Source§impl Debug for ImmutableGradientStop
impl Debug for ImmutableGradientStop
Source§impl IGradientStop for ImmutableGradientStop
impl IGradientStop for ImmutableGradientStop
Source§fn is_immutable_gradient_stop(&self) -> bool
fn is_immutable_gradient_stop(&self) -> bool
Whether the stop is an
ImmutableGradientStop
(the as ImmutableGradientStop test of upstream).Source§fn as_composition_gradient_stop(&self) -> Option<&CompositionGradientStop>
fn as_composition_gradient_stop(&self) -> Option<&CompositionGradientStop>
The stop as a composition gradient stop, if it is one (the
is CompositionGradientStop test of upstream).Source§impl PartialEq for ImmutableGradientStop
impl PartialEq for ImmutableGradientStop
impl StructuralPartialEq for ImmutableGradientStop
Auto Trait Implementations§
impl Freeze for ImmutableGradientStop
impl RefUnwindSafe for ImmutableGradientStop
impl Send for ImmutableGradientStop
impl Sync for ImmutableGradientStop
impl Unpin for ImmutableGradientStop
impl UnsafeUnpin for ImmutableGradientStop
impl UnwindSafe for ImmutableGradientStop
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more