mirror of
https://github.com/danbulant/cushy
synced 2026-07-08 04:30:34 +00:00
21 lines
583 B
Text
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,
|
|
),
|
|
}
|
|
}
|
|
}
|
|
|