pub type Rotate = GenericRotate<Number, Angle>;
Expand description
A computed CSS rotate
Aliased Type§
enum Rotate {
None,
Rotate(Angle),
Rotate3D(f32, f32, f32, Angle),
}
Variants§
Implementations§
Trait Implementations§
source§impl ComputeSquaredDistance for Rotate
impl ComputeSquaredDistance for Rotate
source§fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
Computes the squared distance between two animatable values.