#[repr(transparent)]pub struct ArkUI_AnimationFillMode(pub c_uint);Available on crate feature
api-12 only.Expand description
@brief Defines the status before and after execution of the animation in the current playback direction.
@since 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.
Source§impl ArkUI_AnimationFillMode
impl ArkUI_AnimationFillMode
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.
Source§impl ArkUI_AnimationFillMode
impl ArkUI_AnimationFillMode
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.
Source§impl ArkUI_AnimationFillMode
impl ArkUI_AnimationFillMode
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 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_AnimationFillMode
impl Hash for ArkUI_AnimationFillMode
Source§impl PartialEq for ArkUI_AnimationFillMode
impl PartialEq 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§
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