Enum AnimationEasingMode
#[repr(i32)]pub enum AnimationEasingMode {
AnimationEaseIn = 0,
AnimationEaseOut = 1,
AnimationEaseInOut = 2,
}Expand description
Easing mode to use to apply an easing function.
Variants§
AnimationEaseIn = 0
Applies to an interpolation an easing function.
AnimationEaseOut = 1
Applies to an interpolation the negative value of an easing function.
AnimationEaseInOut = 2
Applies to the first half of an interpolation an easing function, and to the second half of an interpolation the negative value of an easing function.
Implementations§
§impl AnimationEasingMode
impl AnimationEasingMode
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> AnimationEasingMode
Trait Implementations§
§impl Clone for AnimationEasingMode
impl Clone for AnimationEasingMode
§fn clone(&self) -> AnimationEasingMode
fn clone(&self) -> AnimationEasingMode
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 more§impl Debug for AnimationEasingMode
impl Debug for AnimationEasingMode
§impl Display for AnimationEasingMode
impl Display for AnimationEasingMode
§impl PartialEq for AnimationEasingMode
impl PartialEq for AnimationEasingMode
§impl VariantConstraint for AnimationEasingMode
impl VariantConstraint for AnimationEasingMode
§type DataArg<'a> = AnimationEasingMode
type DataArg<'a> = AnimationEasingMode
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = AnimationEasingMode
type RetArg = AnimationEasingMode
§fn as_arg(&self) -> <AnimationEasingMode as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <AnimationEasingMode as VariantConstraint>::DataArg<'_>
impl Copy for AnimationEasingMode
impl Eq for AnimationEasingMode
impl PropertyTypeConstraint for AnimationEasingMode
impl StructuralPartialEq for AnimationEasingMode
Auto Trait Implementations§
impl Freeze for AnimationEasingMode
impl RefUnwindSafe for AnimationEasingMode
impl Send for AnimationEasingMode
impl Sync for AnimationEasingMode
impl Unpin for AnimationEasingMode
impl UnwindSafe for AnimationEasingMode
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