#[repr(transparent)]pub struct ArkUI_AnimationDirection(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the animation playback modes.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_AnimationDirection
impl ArkUI_AnimationDirection
Sourcepub const ARKUI_ANIMATION_DIRECTION_NORMAL: ArkUI_AnimationDirection
pub const ARKUI_ANIMATION_DIRECTION_NORMAL: ArkUI_AnimationDirection
The animation plays in forward loop mode.
Source§impl ArkUI_AnimationDirection
impl ArkUI_AnimationDirection
Sourcepub const ARKUI_ANIMATION_DIRECTION_REVERSE: ArkUI_AnimationDirection
pub const ARKUI_ANIMATION_DIRECTION_REVERSE: ArkUI_AnimationDirection
The animation plays in reverse loop mode.
Source§impl ArkUI_AnimationDirection
impl ArkUI_AnimationDirection
Sourcepub const ARKUI_ANIMATION_DIRECTION_ALTERNATE: ArkUI_AnimationDirection
pub const ARKUI_ANIMATION_DIRECTION_ALTERNATE: ArkUI_AnimationDirection
The animation plays in alternating loop mode. When the animation is played for an odd number of times, the playback is in forward direction. When the animation is played for an even number of times, the playback is in reverse direction.
Source§impl ArkUI_AnimationDirection
impl ArkUI_AnimationDirection
Sourcepub const ARKUI_ANIMATION_DIRECTION_ALTERNATE_REVERSE: ArkUI_AnimationDirection
pub const ARKUI_ANIMATION_DIRECTION_ALTERNATE_REVERSE: ArkUI_AnimationDirection
The animation plays in reverse alternating loop mode. When the animation is played for an odd number of times, the playback is in reverse direction. When the animation is played for an even number of times, the playback is in forward direction.
Trait Implementations§
Source§impl Clone for ArkUI_AnimationDirection
impl Clone for ArkUI_AnimationDirection
Source§fn clone(&self) -> ArkUI_AnimationDirection
fn clone(&self) -> ArkUI_AnimationDirection
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_AnimationDirection
impl Hash for ArkUI_AnimationDirection
Source§impl PartialEq for ArkUI_AnimationDirection
impl PartialEq for ArkUI_AnimationDirection
impl Copy for ArkUI_AnimationDirection
impl Eq for ArkUI_AnimationDirection
impl StructuralPartialEq for ArkUI_AnimationDirection
Auto Trait Implementations§
impl Freeze for ArkUI_AnimationDirection
impl RefUnwindSafe for ArkUI_AnimationDirection
impl Send for ArkUI_AnimationDirection
impl Sync for ArkUI_AnimationDirection
impl Unpin for ArkUI_AnimationDirection
impl UnwindSafe for ArkUI_AnimationDirection
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