Struct tuix_internal::ColorGradient [−][src]
pub struct ColorGradient { /* fields omitted */ }
Implementations
pub fn on_changing<F>(self, callback: F) -> ColorGradient where
F: 'static + Fn(&mut ColorGradient, &mut State, Entity),
Trait Implementations
Adds the widget into state and returns the associated type Ret - an entity id or a tuple of entity ids