struct
Ease
pub struct Ease {
pub curve: Curve,
pub dir: Dir,
}An easing function.
Fields
Methods
parse
pub fn parse(s: &str) -> Option<Ease>Parse a GSAP ease string: "power3.out", "back.inOut(2)", "elastic.out(1, 0.4)", "steps(5)", "cubic-bezier(.17,.67,.83,.67)", "none". The direction defaults to out.