#[repr(transparent)]pub struct ArkUI_AnimationCurve(pub c_uint);Available on crate feature
api-12 only.Expand description
@brief Enumerates the animation curves.
@since 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_LINEAR: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_LINEAR: ArkUI_AnimationCurve = _
The animation speed keeps unchanged.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_EASE: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_EASE: ArkUI_AnimationCurve = _
The animation starts slowly, accelerates, and then slows down towards the end.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_EASE_IN: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_EASE_IN: ArkUI_AnimationCurve = _
The animation starts at a low speed and then picks up speed until the end.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_EASE_OUT: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_EASE_OUT: ArkUI_AnimationCurve = _
The animation ends at a low speed.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_EASE_IN_OUT: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_EASE_IN_OUT: ArkUI_AnimationCurve = _
The animation starts and ends at a low speed.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_FAST_OUT_SLOW_IN: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_FAST_OUT_SLOW_IN: ArkUI_AnimationCurve = _
The animation uses the standard curve
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_LINEAR_OUT_SLOW_IN: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_LINEAR_OUT_SLOW_IN: ArkUI_AnimationCurve = _
The animation uses the deceleration curve.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_FAST_OUT_LINEAR_IN: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_FAST_OUT_LINEAR_IN: ArkUI_AnimationCurve = _
The animation uses the acceleration curve.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_EXTREME_DECELERATION: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_EXTREME_DECELERATION: ArkUI_AnimationCurve = _
The animation uses the extreme deceleration curve.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_SHARP: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_SHARP: ArkUI_AnimationCurve = _
The animation uses the sharp curve.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_RHYTHM: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_RHYTHM: ArkUI_AnimationCurve = _
The animation uses the rhythm curve.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_SMOOTH: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_SMOOTH: ArkUI_AnimationCurve = _
The animation uses the smooth curve.
Source§impl ArkUI_AnimationCurve
impl ArkUI_AnimationCurve
Sourcepub const ARKUI_CURVE_FRICTION: ArkUI_AnimationCurve = _
pub const ARKUI_CURVE_FRICTION: ArkUI_AnimationCurve = _
The animation uses the friction curve
Trait Implementations§
Source§impl Clone for ArkUI_AnimationCurve
impl Clone for ArkUI_AnimationCurve
Source§fn clone(&self) -> ArkUI_AnimationCurve
fn clone(&self) -> ArkUI_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 Hash for ArkUI_AnimationCurve
impl Hash for ArkUI_AnimationCurve
Source§impl PartialEq for ArkUI_AnimationCurve
impl PartialEq for ArkUI_AnimationCurve
impl Eq for ArkUI_AnimationCurve
impl StructuralPartialEq for ArkUI_AnimationCurve
Auto Trait Implementations§
impl Freeze for ArkUI_AnimationCurve
impl RefUnwindSafe for ArkUI_AnimationCurve
impl Send for ArkUI_AnimationCurve
impl Sync for ArkUI_AnimationCurve
impl Unpin for ArkUI_AnimationCurve
impl UnwindSafe for ArkUI_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