ColorChangedEventArgs
struct · ferroui-controls-color-picker · v0.5.0
struct ColorChangedEventArgs
Holds the details of a ColorChanged event.
HSV color information is intentionally not provided.
Use Color::to_hsv to obtain it.
Members
new
fn new(old_color: Color, new_color: Color) -> Self
Initializes a new instance of the ColorChangedEventArgs class.
old_color is the old/original color from before the change event;
new_color is the new/updated color that triggered the change event.
old_color
fn old_color(self: &Self) -> Color
Gets the old/original color from before the change event.
new_color
fn new_color(self: &Self) -> Color
Gets the new/updated color that triggered the change event.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.