[−][src]Enum iced_native::AnimationState
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
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]
fn clone(&self) -> AnimationState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AnimationState
[src]
impl Debug for AnimationState
[src]
impl Eq for AnimationState
[src]
impl Ord for AnimationState
[src]
fn cmp(&self, other: &AnimationState) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<AnimationState> for AnimationState
[src]
fn eq(&self, other: &AnimationState) -> bool
[src]
fn ne(&self, other: &AnimationState) -> bool
[src]
impl PartialOrd<AnimationState> for AnimationState
[src]
fn partial_cmp(&self, other: &AnimationState) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,