pub enum CrossFadeState {
ShowFirst,
ShowSecond,
}Expand description
Specifies which of two children to show. See AnimatedCrossFade.
The child that is shown will fade in, while the other will fade out.
Variants§
ShowFirst
Show the first child (AnimatedCrossFade::first_child) and hide the second
(AnimatedCrossFade::second_child).
ShowSecond
Show the second child (AnimatedCrossFade::second_child) and hide the first
(AnimatedCrossFade::first_child).
Trait Implementations§
Source§impl Clone for CrossFadeState
impl Clone for CrossFadeState
impl Copy for CrossFadeState
Source§impl Debug for CrossFadeState
impl Debug for CrossFadeState
impl Eq for CrossFadeState
Source§impl Hash for CrossFadeState
impl Hash for CrossFadeState
Source§impl PartialEq for CrossFadeState
impl PartialEq for CrossFadeState
impl StructuralPartialEq for CrossFadeState
Auto Trait Implementations§
impl Forget for CrossFadeState
impl Freeze for CrossFadeState
impl Move for CrossFadeState
impl RefUnwindSafe for CrossFadeState
impl Send for CrossFadeState
impl Sync for CrossFadeState
impl Unpin for CrossFadeState
impl UnsafeUnpin for CrossFadeState
impl UnwindSafe for CrossFadeState
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.