# Enum libadwaita::Easing

source · ```
#[non_exhaustive]pub enum Easing {
```## Show 31 variants

Linear,
EaseInQuad,
EaseOutQuad,
EaseInOutQuad,
EaseInCubic,
EaseOutCubic,
EaseInOutCubic,
EaseInQuart,
EaseOutQuart,
EaseInOutQuart,
EaseInQuint,
EaseOutQuint,
EaseInOutQuint,
EaseInSine,
EaseOutSine,
EaseInOutSine,
EaseInExpo,
EaseOutExpo,
EaseInOutExpo,
EaseInCirc,
EaseOutCirc,
EaseInOutCirc,
EaseInElastic,
EaseOutElastic,
EaseInOutElastic,
EaseInBack,
EaseOutBack,
EaseInOutBack,
EaseInBounce,
EaseOutBounce,
EaseInOutBounce,
}

## Expand description

Describes the available easing functions for use with
`TimedAnimation`

.

New values may be added to this enumeration over time.

## Variants (Non-exhaustive)§

## This enum is marked as non-exhaustive

### Linear

Linear tweening.

### EaseInQuad

Quadratic tweening.

### EaseOutQuad

Quadratic tweening, inverse of `ADW_EASE_IN_QUAD`

.

### EaseInOutQuad

Quadratic tweening, combining `ADW_EASE_IN_QUAD`

and
`ADW_EASE_OUT_QUAD`

.

### EaseInCubic

Cubic tweening.

### EaseOutCubic

Cubic tweening, inverse of `ADW_EASE_IN_CUBIC`

.

### EaseInOutCubic

Cubic tweening, combining `ADW_EASE_IN_CUBIC`

and
`ADW_EASE_OUT_CUBIC`

.

### EaseInQuart

Quartic tweening.

### EaseOutQuart

Quartic tweening, inverse of `ADW_EASE_IN_QUART`

.

### EaseInOutQuart

Quartic tweening, combining `ADW_EASE_IN_QUART`

and
`ADW_EASE_OUT_QUART`

.

### EaseInQuint

Quintic tweening.

### EaseOutQuint

Quintic tweening, inverse of `ADW_EASE_IN_QUINT`

.

### EaseInOutQuint

Quintic tweening, combining `ADW_EASE_IN_QUINT`

and
`ADW_EASE_OUT_QUINT`

.

### EaseInSine

Sine wave tweening.

### EaseOutSine

Sine wave tweening, inverse of `ADW_EASE_IN_SINE`

.

### EaseInOutSine

Sine wave tweening, combining `ADW_EASE_IN_SINE`

and
`ADW_EASE_OUT_SINE`

.

### EaseInExpo

Exponential tweening.

### EaseOutExpo

Exponential tweening, inverse of `ADW_EASE_IN_EXPO`

.

### EaseInOutExpo

Exponential tweening, combining `ADW_EASE_IN_EXPO`

and
`ADW_EASE_OUT_EXPO`

.

### EaseInCirc

Circular tweening.

### EaseOutCirc

Circular tweening, inverse of `ADW_EASE_IN_CIRC`

.

### EaseInOutCirc

Circular tweening, combining `ADW_EASE_IN_CIRC`

and
`ADW_EASE_OUT_CIRC`

.

### EaseInElastic

Elastic tweening, with offshoot on start.

### EaseOutElastic

Elastic tweening, with offshoot on end, inverse of
`ADW_EASE_IN_ELASTIC`

.

### EaseInOutElastic

Elastic tweening, with offshoot on both ends,
combining `ADW_EASE_IN_ELASTIC`

and `ADW_EASE_OUT_ELASTIC`

.

### EaseInBack

Overshooting cubic tweening, with backtracking on start.

### EaseOutBack

Overshooting cubic tweening, with backtracking on end,
inverse of `ADW_EASE_IN_BACK`

.

### EaseInOutBack

Overshooting cubic tweening, with backtracking on both
ends, combining `ADW_EASE_IN_BACK`

and `ADW_EASE_OUT_BACK`

.

### EaseInBounce

Exponentially decaying parabolic (bounce) tweening, on start.

### EaseOutBounce

Exponentially decaying parabolic (bounce) tweening,
with bounce on end, inverse of `ADW_EASE_IN_BOUNCE`

.

### EaseInOutBounce

Exponentially decaying parabolic (bounce) tweening,
with bounce on both ends, combining `ADW_EASE_IN_BOUNCE`

and
`ADW_EASE_OUT_BOUNCE`

.

## Implementations§

## Trait Implementations§

source§### impl<'a> FromValue<'a> for Easing

### impl<'a> FromValue<'a> for Easing

§#### type Checker = GenericValueTypeChecker<Easing>

#### type Checker = GenericValueTypeChecker<Easing>

source§#### unsafe fn from_value(value: &'a Value) -> Self

#### unsafe fn from_value(value: &'a Value) -> Self

`Value`

. Read moresource§### impl HasParamSpec for Easing

### impl HasParamSpec for Easing

source§### impl Ord for Easing

### impl Ord for Easing

source§### impl PartialEq for Easing

### impl PartialEq for Easing

source§### impl PartialOrd for Easing

### impl PartialOrd for Easing

1.0.0 · source§#### fn le(&self, other: &Rhs) -> bool

#### fn le(&self, other: &Rhs) -> bool

`self`

and `other`

) and is used by the `<=`

operator. Read moresource§### impl StaticType for Easing

### impl StaticType for Easing

source§#### fn static_type() -> Type

#### fn static_type() -> Type

`Self`

.### impl Copy for Easing

### impl Eq for Easing

### impl StructuralPartialEq for Easing

## Auto Trait Implementations§

### impl RefUnwindSafe for Easing

### impl Send for Easing

### impl Sync for Easing

### impl Unpin for Easing

### impl UnwindSafe for Easing

## Blanket Implementations§

source§### impl<T> BorrowMut<T> for Twhere
T: ?Sized,

### impl<T> BorrowMut<T> for Twhere
T: ?Sized,

source§#### fn borrow_mut(&mut self) -> &mut T

#### fn borrow_mut(&mut self) -> &mut T

source§### impl<T> IntoClosureReturnValue for T

### impl<T> IntoClosureReturnValue for T

#### fn into_closure_return_value(self) -> Option<Value>

source§### impl<T> PropertyGet for Twhere
T: HasParamSpec,

### impl<T> PropertyGet for Twhere
T: HasParamSpec,

source§### impl<T> StaticTypeExt for Twhere
T: StaticType,

### impl<T> StaticTypeExt for Twhere
T: StaticType,

source§#### fn ensure_type()

#### fn ensure_type()

source§### impl<T> ToSendValue for T

### impl<T> ToSendValue for T

source§#### fn to_send_value(&self) -> SendValue

#### fn to_send_value(&self) -> SendValue

`SendValue`

clone of `self`

.