Expand description
Derive for palantir::widget::Animatable: animated fields forward to their own impls;
#[animate(snap)] fields take the target’s value in lerp and are left out of the arithmetic.
Derive Macros§
- Animatable
#[derive(Animatable)]on a struct with named fields.#[animate(snap)](aliasskip) on a field:lerpreturns the target’s value, spring math skips it andmagnitudeexcludes it.