Struct style::values::generics::transform::Transform [] [src]

pub struct Transform<T>(pub Vec<T>);

A value of the transform property

Methods

impl<T> Transform<T>
[src]

[src]

none

impl<T: ToMatrix> Transform<T>
[src]

[src]

Return the equivalent 3d matrix of this transform list. We return a pair: the first one is the transform matrix, and the second one indicates if there is any 3d transform function in this transform list.

Trait Implementations

impl<T> Animate for Transform<T> where
    Vec<T>: Animate
[src]

[src]

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

impl<T> ToComputedValue for Transform<T> where
    Vec<T>: ToComputedValue<ComputedValue = Vec<<T as ToComputedValue>::ComputedValue>>,
    T: ToComputedValue
[src]

The computed value type we're going to be converted to.

[src]

Convert a specified value to a computed value, using itself and the data inside the Context. Read more

[src]

Convert a computed value to specified value form. Read more

impl<T: Clone> Clone for Transform<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Transform<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> MallocSizeOf for Transform<T> where
    T: MallocSizeOf
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl<T: PartialEq> PartialEq for Transform<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: ToCss> ToCss for Transform<T>
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more