cushy/gooey-macros/src/snapshots/gooey_macros__animation__test.snap
2023-11-13 17:03:51 +01:00

21 lines
583 B
Text

---
source: src/animation.rs
expression: unparse(&parse2(output).unwrap())
---
impl ::gooey::animation::LinearInterpolate for HelloWorld {
fn lerp(&self, __target: &Self, __percent: f32) -> Self {
HelloWorld {
fielda: ::gooey::animation::LinearInterpolate::lerp(
&self.fielda,
&__target.fielda,
__percent,
),
fieldb: ::gooey::animation::LinearInterpolate::lerp(
&self.fieldb,
&__target.fieldb,
__percent,
),
}
}
}