pub enum RenderAnimatedSizeState {
Start,
Stable,
Changed,
Unstable,
}Expand description
A RenderAnimatedSize can be in exactly one of these states.
Variants§
Start
The initial state, when we do not yet know what the starting and target sizes are to animate.
The next state is Stable.
Stable
At this state the child’s size is assumed to be stable and we are either animating, or waiting for the child’s size to change.
If the child’s size changes, the state will become Changed.
Otherwise, it remains Stable.
Changed
At this state we know that the child has changed once after being assumed
Stable.
Unstable
At this state the child’s size is assumed to be unstable (changing each frame).
Trait Implementations§
Source§impl Clone for RenderAnimatedSizeState
impl Clone for RenderAnimatedSizeState
impl Copy for RenderAnimatedSizeState
Source§impl Debug for RenderAnimatedSizeState
impl Debug for RenderAnimatedSizeState
impl Eq for RenderAnimatedSizeState
Source§impl PartialEq for RenderAnimatedSizeState
impl PartialEq for RenderAnimatedSizeState
impl StructuralPartialEq for RenderAnimatedSizeState
Auto Trait Implementations§
impl Freeze for RenderAnimatedSizeState
impl RefUnwindSafe for RenderAnimatedSizeState
impl Send for RenderAnimatedSizeState
impl Sync for RenderAnimatedSizeState
impl Unpin for RenderAnimatedSizeState
impl UnsafeUnpin for RenderAnimatedSizeState
impl UnwindSafe for RenderAnimatedSizeState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.