![]() # Objective Allow tuple structs in the animated_field macro. - for example `animated_field!(MyTupleStruct::0)`. Fixes #16736 - This issue was partially fixed in #16747, where support for tuple structs was added to `AnimatedField::new_unchecked`. ## Solution Change the designator for `$field` in the macro from `ident` to `tt`. ## Testing Expanded the doc test on `animated_field!` to include an example with a tuple struct. |
||
---|---|---|
.. | ||
animatable.rs | ||
animation_curves.rs | ||
gltf_curves.rs | ||
graph.rs | ||
lib.rs | ||
transition.rs | ||
util.rs |