Struct style::properties::animated_properties::Translate3D
[−]
[src]
pub struct Translate3D(_, _, _);
A 3d translation.
Trait Implementations
impl MallocSizeOf for Translate3D
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl Animate for Translate3D
[src]
fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()>
[src]
Animate a value towards another one, given an animation procedure.
impl Clone for Translate3D
[src]
fn clone(&self) -> Translate3D
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl ComputeSquaredDistance for Translate3D
[src]
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
[src]
Computes the squared distance between two animatable values.