#[repr(transparent)]pub struct ArkUI_AnimationFillMode(pub c_uint);Available on crate feature
api-12 only.Expand description
Defines the status before and after execution of the animation in the current playback direction.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_AnimationFillMode
impl ArkUI_AnimationFillMode
Sourcepub const ARKUI_ANIMATION_FILL_MODE_NONE: ArkUI_AnimationFillMode
pub const ARKUI_ANIMATION_FILL_MODE_NONE: ArkUI_AnimationFillMode
Before execution, the animation does not apply any styles to the target component. After execution, the animation restores the target component to its default state.
Sourcepub const ARKUI_ANIMATION_FILL_MODE_FORWARDS: ArkUI_AnimationFillMode
pub const ARKUI_ANIMATION_FILL_MODE_FORWARDS: ArkUI_AnimationFillMode
The target component retains the state set by the last keyframe encountered during execution of the animation.
Sourcepub const ARKUI_ANIMATION_FILL_MODE_BACKWARDS: ArkUI_AnimationFillMode
pub const ARKUI_ANIMATION_FILL_MODE_BACKWARDS: ArkUI_AnimationFillMode
The animation applies the values defined in the first relevant keyframe once it is applied to the target component, and retains the values during the period set by delay.
Sourcepub const ARKUI_ANIMATION_FILL_MODE_BOTH: ArkUI_AnimationFillMode
pub const ARKUI_ANIMATION_FILL_MODE_BOTH: ArkUI_AnimationFillMode
The animation follows the rules for both Forwards and Backwards, extending the animation attributes in both directions.
Trait Implementations§
Source§impl Clone for ArkUI_AnimationFillMode
impl Clone for ArkUI_AnimationFillMode
Source§fn clone(&self) -> ArkUI_AnimationFillMode
fn clone(&self) -> ArkUI_AnimationFillMode
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_AnimationFillMode
impl Debug for ArkUI_AnimationFillMode
Source§impl Hash for ArkUI_AnimationFillMode
impl Hash for ArkUI_AnimationFillMode
Source§impl PartialEq for ArkUI_AnimationFillMode
impl PartialEq for ArkUI_AnimationFillMode
impl Copy for ArkUI_AnimationFillMode
impl Eq for ArkUI_AnimationFillMode
impl StructuralPartialEq for ArkUI_AnimationFillMode
Auto Trait Implementations§
impl Freeze for ArkUI_AnimationFillMode
impl RefUnwindSafe for ArkUI_AnimationFillMode
impl Send for ArkUI_AnimationFillMode
impl Sync for ArkUI_AnimationFillMode
impl Unpin for ArkUI_AnimationFillMode
impl UnwindSafe for ArkUI_AnimationFillMode
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)