pub enum TransformOp {
Show 21 variants
Rotate(f32),
RotateX(f32),
RotateY(f32),
RotateZ(f32),
Rotate3d(f32, f32, f32, f32),
Scale(f32),
ScaleX(f32),
ScaleY(f32),
ScaleZ(f32),
Scale3d(f32, f32, f32),
TranslateX(f32),
TranslateY(f32),
TranslateZ(f32),
Translate(f32, f32),
Translate3d(f32, f32, f32),
SkewX(f32),
SkewY(f32),
Skew(f32, f32),
Perspective(f32),
Matrix(f32, f32, f32, f32, f32, f32),
Matrix3d([f32; 16]),
}Expand description
A single CSS transform function token.
Variants§
Rotate(f32)
RotateX(f32)
RotateY(f32)
RotateZ(f32)
Rotate3d(f32, f32, f32, f32)
Scale(f32)
ScaleX(f32)
ScaleY(f32)
ScaleZ(f32)
Scale3d(f32, f32, f32)
TranslateX(f32)
TranslateY(f32)
TranslateZ(f32)
Translate(f32, f32)
Translate3d(f32, f32, f32)
SkewX(f32)
SkewY(f32)
Skew(f32, f32)
Perspective(f32)
Matrix(f32, f32, f32, f32, f32, f32)
Matrix3d([f32; 16])
Implementations§
Trait Implementations§
Source§impl Clone for TransformOp
impl Clone for TransformOp
Source§impl Debug for TransformOp
impl Debug for TransformOp
Source§impl PartialEq for TransformOp
impl PartialEq for TransformOp
impl StructuralPartialEq for TransformOp
Auto Trait Implementations§
impl Freeze for TransformOp
impl RefUnwindSafe for TransformOp
impl Send for TransformOp
impl Sync for TransformOp
impl Unpin for TransformOp
impl UnsafeUnpin for TransformOp
impl UnwindSafe for TransformOp
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
Mutably borrows from an owned value. Read more