#[repr(transparent)]pub struct ArkUI_AnimationCurve(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the animation curves.
Available since API-level: 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.
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.
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.
Sourcepub const ARKUI_CURVE_EASE_OUT: ArkUI_AnimationCurve
pub const ARKUI_CURVE_EASE_OUT: ArkUI_AnimationCurve
The animation ends at a low speed.
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.
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
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.
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.
Sourcepub const ARKUI_CURVE_EXTREME_DECELERATION: ArkUI_AnimationCurve
pub const ARKUI_CURVE_EXTREME_DECELERATION: ArkUI_AnimationCurve
The animation uses the extreme deceleration curve.
Sourcepub const ARKUI_CURVE_SHARP: ArkUI_AnimationCurve
pub const ARKUI_CURVE_SHARP: ArkUI_AnimationCurve
The animation uses the sharp curve.
Sourcepub const ARKUI_CURVE_RHYTHM: ArkUI_AnimationCurve
pub const ARKUI_CURVE_RHYTHM: ArkUI_AnimationCurve
The animation uses the rhythm curve.
Sourcepub const ARKUI_CURVE_SMOOTH: ArkUI_AnimationCurve
pub const ARKUI_CURVE_SMOOTH: ArkUI_AnimationCurve
The animation uses the smooth curve.
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 duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArkUI_AnimationCurve
impl Debug for ArkUI_AnimationCurve
Source§impl Hash for ArkUI_AnimationCurve
impl Hash for ArkUI_AnimationCurve
Source§impl PartialEq for ArkUI_AnimationCurve
impl PartialEq for ArkUI_AnimationCurve
impl Copy 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)