pub enum TransformFunction {
Show 21 variants
Matrix(MatrixFunction),
Matrix3d(Matrix3dFunction),
Translate(TranslateFunction),
Translate3d(Translate3dFunction),
TranslateX(TranslatexFunction),
TranslateY(TranslateyFunction),
TranslateZ(TranslatezFunction),
Scale(ScaleFunction),
Scale3d(Scale3dFunction),
ScaleX(ScalexFunction),
ScaleY(ScaleyFunction),
ScaleZ(ScalezFunction),
Rotate(RotateFunction),
Rotate3d(Rotate3dFunction),
RotateX(RotatexFunction),
RotateY(RotateyFunction),
RotateZ(RotatezFunction),
Skew(SkewFunction),
SkewX(SkewxFunction),
SkewY(SkewyFunction),
Perspective(PerspectiveFunction),
}Variants§
Matrix(MatrixFunction)
Matrix3d(Matrix3dFunction)
Translate(TranslateFunction)
Translate3d(Translate3dFunction)
TranslateX(TranslatexFunction)
TranslateY(TranslateyFunction)
TranslateZ(TranslatezFunction)
Scale(ScaleFunction)
Scale3d(Scale3dFunction)
ScaleX(ScalexFunction)
ScaleY(ScaleyFunction)
ScaleZ(ScalezFunction)
Rotate(RotateFunction)
Rotate3d(Rotate3dFunction)
RotateX(RotatexFunction)
RotateY(RotateyFunction)
RotateZ(RotatezFunction)
Skew(SkewFunction)
SkewX(SkewxFunction)
SkewY(SkewyFunction)
Perspective(PerspectiveFunction)
Trait Implementations§
Source§impl Clone for TransformFunction
impl Clone for TransformFunction
Source§fn clone(&self) -> TransformFunction
fn clone(&self) -> TransformFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransformFunction
impl Debug for TransformFunction
Source§impl Hash for TransformFunction
impl Hash for TransformFunction
Source§impl NodeWithMetadata<CssMetadata> for TransformFunction
impl NodeWithMetadata<CssMetadata> for TransformFunction
Source§fn self_metadata(&self) -> CssMetadata
fn self_metadata(&self) -> CssMetadata
Returns the metadata contributed by this node itself, not including children.
Most nodes don’t contribute metadata, so can simply return
M::default().
Nodes like StyleRule or AtRules should return their own node kind flags here.Source§fn metadata(&self) -> CssMetadata
fn metadata(&self) -> CssMetadata
Returns the complete aggregated metadata for this node (self + children).
Default implementation merges children’s metadata with self_metadata().
Source§impl Ord for TransformFunction
impl Ord for TransformFunction
Source§fn cmp(&self, other: &TransformFunction) -> Ordering
fn cmp(&self, other: &TransformFunction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for TransformFunction
impl<'a> Parse<'a> for TransformFunction
Source§impl PartialEq for TransformFunction
impl PartialEq for TransformFunction
Source§impl PartialOrd for TransformFunction
impl PartialOrd for TransformFunction
Source§impl<'a> Peek<'a> for TransformFunction
impl<'a> Peek<'a> for TransformFunction
Source§impl SemanticEq for TransformFunction
impl SemanticEq for TransformFunction
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for TransformFunction
impl ToCursors for TransformFunction
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TransformFunction
impl StructuralPartialEq for TransformFunction
Auto Trait Implementations§
impl Freeze for TransformFunction
impl RefUnwindSafe for TransformFunction
impl Send for TransformFunction
impl Sync for TransformFunction
impl Unpin for TransformFunction
impl UnwindSafe for TransformFunction
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