[][src]Enum iced_native::AnimationState

pub enum AnimationState {
    NotAnimating,
    AnimateIn(Instant),
}

Animation requirements of a widget.

NotAnimating is greater than any value of AnimateIn. This allows the use of min() to reduce a set of AnimationState values into a value representing the soonest needed animation.

Variants

NotAnimating

The widget is not animating. It will only change in response to events or user interaction.

AnimateIn(Instant)

The widget needs to animate itself at the provided moment.

Trait Implementations

impl Clone for AnimationState[src]

impl Copy for AnimationState[src]

impl Debug for AnimationState[src]

impl Eq for AnimationState[src]

impl Ord for AnimationState[src]

impl PartialEq<AnimationState> for AnimationState[src]

impl PartialOrd<AnimationState> for AnimationState[src]

impl StructuralEq for AnimationState[src]

impl StructuralPartialEq for AnimationState[src]

Auto Trait Implementations

impl RefUnwindSafe for AnimationState

impl Send for AnimationState

impl Sync for AnimationState

impl Unpin for AnimationState

impl UnwindSafe for AnimationState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]