#[repr(u32)]pub enum AnimationCurve {
Linear = 0,
QuadraticEaseIn = 1,
QuadraticEaseOut = 2,
QuadraticEaseInOut = 3,
}
Variants§
Trait Implementations§
Source§impl CheckedBitPattern for AnimationCurve
impl CheckedBitPattern for AnimationCurve
Source§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: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::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 duplicate 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 From<AnimationCurve> for u32
impl From<AnimationCurve> for u32
Source§fn from(enum_value: AnimationCurve) -> Self
fn from(enum_value: AnimationCurve) -> Self
Converts to this type from the input type.
Source§impl Hash for AnimationCurve
impl Hash for AnimationCurve
Source§impl PartialEq for AnimationCurve
impl PartialEq for AnimationCurve
Source§impl TryFrom<u32> for AnimationCurve
impl TryFrom<u32> for AnimationCurve
Source§type Error = TryFromPrimitiveError<AnimationCurve>
type Error = TryFromPrimitiveError<AnimationCurve>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AnimationCurve
impl TryFromPrimitive for AnimationCurve
impl Copy for AnimationCurve
impl Eq for AnimationCurve
impl NoUninit for AnimationCurve
impl StructuralPartialEq for AnimationCurve
Auto Trait Implementations§
impl Freeze for AnimationCurve
impl RefUnwindSafe for AnimationCurve
impl Send for AnimationCurve
impl Sync for AnimationCurve
impl Unpin for AnimationCurve
impl UnwindSafe for AnimationCurve
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more