Skip to main content

Module transform

Module transform 

Source
Expand description

CSS properties for 2D and 3D transformations.

Structs§

StylePerspectiveOrigin
Represents a perspective-origin attribute
StyleTransformMatrix2D
Represents a CSS matrix(a, b, c, d, tx, ty) 2D transform function.
StyleTransformMatrix3D
Represents a CSS matrix3d(...) 3D transform function (4x4 matrix).
StyleTransformOrigin
Represents a transform-origin attribute
StyleTransformRotate3D
Represents a CSS rotate3d(x, y, z, angle) 3D rotation.
StyleTransformScale2D
Represents a CSS scale(x, y) 2D scaling.
StyleTransformScale3D
Represents a CSS scale3d(x, y, z) 3D scaling.
StyleTransformSkew2D
Represents a CSS skew(x, y) 2D skew transformation.
StyleTransformTranslate2D
Represents a CSS translate(x, y) 2D translation.
StyleTransformTranslate3D
Represents a CSS translate3d(x, y, z) 3D translation.
StyleTransformVec
StyleTransformVecSlice
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.

Enums§

CssBackfaceVisibilityParseError
CssBackfaceVisibilityParseErrorOwned
CssStylePerspectiveOriginParseError
CssStylePerspectiveOriginParseErrorOwned
CssStyleTransformOriginParseError
CssStyleTransformOriginParseErrorOwned
CssStyleTransformParseError
CssStyleTransformParseErrorOwned
OptionStyleTransform
StyleBackfaceVisibility
Represents a backface-visibility attribute
StyleTransform
Represents one component of a transform attribute
StyleTransformVecDestructor

Functions§

parse_style_backface_visibility
parse_style_perspective_origin
parse_style_transform
parse_style_transform_origin
parse_style_transform_vec

Type Aliases§

StyleTransformVecDestructorType