Enum ark_api::world::AnimationCurve
source · pub enum AnimationCurve {
Linear,
QuadraticEaseIn,
QuadraticEaseOut,
QuadraticEaseInOut,
}Variants§
Trait Implementations§
source§impl CheckedBitPattern for AnimationCurve
impl CheckedBitPattern for AnimationCurve
§type Bits = u32
type Bits = u32
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(
bits: &<AnimationCurve as CheckedBitPattern>::Bits
) -> bool
fn is_valid_bit_pattern( bits: &<AnimationCurve as CheckedBitPattern>::Bits ) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.source§impl Clone for AnimationCurve
impl Clone for AnimationCurve
source§fn clone(&self) -> AnimationCurve
fn clone(&self) -> AnimationCurve
Returns a copy 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 AnimationCurve
impl Debug for AnimationCurve
source§impl Hash for AnimationCurve
impl Hash for AnimationCurve
source§impl PartialEq<AnimationCurve> for AnimationCurve
impl PartialEq<AnimationCurve> for AnimationCurve
source§fn eq(&self, other: &AnimationCurve) -> bool
fn eq(&self, other: &AnimationCurve) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u32> for AnimationCurve
impl TryFrom<u32> for AnimationCurve
§type Error = TryFromPrimitiveError<AnimationCurve>
type Error = TryFromPrimitiveError<AnimationCurve>
The type returned in the event of a conversion error.
source§fn try_from(
number: u32
) -> Result<AnimationCurve, TryFromPrimitiveError<AnimationCurve>>
fn try_from( number: u32 ) -> Result<AnimationCurve, TryFromPrimitiveError<AnimationCurve>>
Performs the conversion.