Type Definition style::values::computed::transform::Rotate

source ·
pub type Rotate = GenericRotate<Number, Angle>;
Expand description

A computed CSS rotate

Implementations§

Trait Implementations§

source§

impl Animate for ComputedRotate

source§

fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()>

Animate a value towards another one, given an animation procedure.
source§

impl ComputeSquaredDistance for ComputedRotate

source§

fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>

Computes the squared distance between two animatable values.