Enum gltf::animation::Property [−][src]
pub enum Property { Translation, Rotation, Scale, MorphTargetWeights, }
Specifies a property to animate.
Variants
Translation
XYZ translation vector.
Rotation
XYZW rotation quaternion.
Scale
XYZ scale vector.
MorphTargetWeights
Weights of morph targets.
Trait Implementations
impl Clone for Property
[src]
impl Clone for Property
fn clone(&self) -> Property
[src]
fn clone(&self) -> Property
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Property
[src]
impl Debug for Property
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Property
[src]
impl Copy for Property
impl Eq for Property
[src]
impl Eq for Property
impl PartialEq<Property> for Property
[src]
impl PartialEq<Property> for Property
fn eq(&self, other: &Property) -> bool
[src]
fn eq(&self, other: &Property) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<'de> Deserialize<'de> for Property
[src]
impl<'de> Deserialize<'de> for Property
fn deserialize<__D>(
__deserializer: __D
) -> Result<Property, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Property, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for Property
[src]
impl Serialize for Property
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more