pub enum AnimationDirection {
Normal,
Reverse,
Alternate,
AlternateReverse,
}Expand description
Direction behavior for keyframe animations.
Variants§
Implementations§
Source§impl AnimationDirection
impl AnimationDirection
pub fn try_from_raw(attr: ArkUI_AnimationDirection) -> Option<Self>
Trait Implementations§
Source§impl Clone for AnimationDirection
impl Clone for AnimationDirection
Source§fn clone(&self) -> AnimationDirection
fn clone(&self) -> AnimationDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnimationDirection
Source§impl Debug for AnimationDirection
impl Debug for AnimationDirection
impl Eq for AnimationDirection
Source§impl From<AnimationDirection> for ArkUI_AnimationDirection
impl From<AnimationDirection> for ArkUI_AnimationDirection
Source§fn from(attr: AnimationDirection) -> Self
fn from(attr: AnimationDirection) -> Self
Converts to this type from the input type.
Source§impl From<u32> for AnimationDirection
impl From<u32> for AnimationDirection
Source§fn from(attr: ArkUI_AnimationDirection) -> Self
fn from(attr: ArkUI_AnimationDirection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AnimationDirection
impl PartialEq for AnimationDirection
impl StructuralPartialEq for AnimationDirection
Auto Trait Implementations§
impl Freeze for AnimationDirection
impl RefUnwindSafe for AnimationDirection
impl Send for AnimationDirection
impl Sync for AnimationDirection
impl Unpin for AnimationDirection
impl UnsafeUnpin for AnimationDirection
impl UnwindSafe for 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