Struct style::properties::animated_properties::Quaternion
[−]
[src]
pub struct Quaternion(_, _, _, _);
A quaternion used to represent a rotation.
Trait Implementations
impl Clone for Quaternion
[src]
fn clone(&self) -> Quaternion
[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 Copy for Quaternion
[src]
impl Debug for Quaternion
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for Quaternion
[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 ComputeSquaredDistance for Quaternion
[src]
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
[src]
Computes the squared distance between two animatable values.