#[repr(transparent)]pub struct ArkUI_AnimationPlayMode(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_AnimationPlayMode
impl ArkUI_AnimationPlayMode
Sourcepub const ARKUI_ANIMATION_PLAY_MODE_NORMAL: ArkUI_AnimationPlayMode
pub const ARKUI_ANIMATION_PLAY_MODE_NORMAL: ArkUI_AnimationPlayMode
The animation is played forwards.
Source§impl ArkUI_AnimationPlayMode
impl ArkUI_AnimationPlayMode
Sourcepub const ARKUI_ANIMATION_PLAY_MODE_REVERSE: ArkUI_AnimationPlayMode
pub const ARKUI_ANIMATION_PLAY_MODE_REVERSE: ArkUI_AnimationPlayMode
The animation is played reversely.
Source§impl ArkUI_AnimationPlayMode
impl ArkUI_AnimationPlayMode
Sourcepub const ARKUI_ANIMATION_PLAY_MODE_ALTERNATE: ArkUI_AnimationPlayMode
pub const ARKUI_ANIMATION_PLAY_MODE_ALTERNATE: ArkUI_AnimationPlayMode
The animation is played normally for an odd number of times (1, 3, 5…) and reversely for an even number of times (2, 4, 6…).
Source§impl ArkUI_AnimationPlayMode
impl ArkUI_AnimationPlayMode
Sourcepub const ARKUI_ANIMATION_PLAY_MODE_ALTERNATE_REVERSE: ArkUI_AnimationPlayMode
pub const ARKUI_ANIMATION_PLAY_MODE_ALTERNATE_REVERSE: ArkUI_AnimationPlayMode
The animation is played reversely for an odd number of times (1, 3, 5…) and normally for an even number of times (2, 4, 6…).
Trait Implementations§
Source§impl Clone for ArkUI_AnimationPlayMode
impl Clone for ArkUI_AnimationPlayMode
Source§fn clone(&self) -> ArkUI_AnimationPlayMode
fn clone(&self) -> ArkUI_AnimationPlayMode
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_AnimationPlayMode
impl Hash for ArkUI_AnimationPlayMode
Source§impl PartialEq for ArkUI_AnimationPlayMode
impl PartialEq for ArkUI_AnimationPlayMode
impl Copy for ArkUI_AnimationPlayMode
impl Eq for ArkUI_AnimationPlayMode
impl StructuralPartialEq for ArkUI_AnimationPlayMode
Auto Trait Implementations§
impl Freeze for ArkUI_AnimationPlayMode
impl RefUnwindSafe for ArkUI_AnimationPlayMode
impl Send for ArkUI_AnimationPlayMode
impl Sync for ArkUI_AnimationPlayMode
impl Unpin for ArkUI_AnimationPlayMode
impl UnwindSafe for ArkUI_AnimationPlayMode
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