MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / EasingFunction

Enum EasingFunction

src/animation/mod.rs:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12#[derive(Clone, Copy)]
13pub enum EasingFunction {
14 Linear,
15 EaseIn,
16 EaseOut,
17 EaseInOut,
18}
19
20impl Animation {
21 pub fn new(start: f32, end: f32, duration: Duration) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected