pub enum TabIndicatorAnimation {
Linear,
Elastic,
}Expand description
Defines how the tab indicator animates when the selected tab changes.
See also:
TabBar, which displays a row of tabs.TabBarThemeData, which can be used to configure the appearance of the tab indicator.
Variants§
Linear
The tab indicator animates linearly.
Elastic
The tab indicator animates with an elastic effect.
Trait Implementations§
Source§impl Clone for TabIndicatorAnimation
impl Clone for TabIndicatorAnimation
impl Copy for TabIndicatorAnimation
Source§impl Debug for TabIndicatorAnimation
impl Debug for TabIndicatorAnimation
impl Eq for TabIndicatorAnimation
Source§impl Hash for TabIndicatorAnimation
impl Hash for TabIndicatorAnimation
Source§impl PartialEq for TabIndicatorAnimation
impl PartialEq for TabIndicatorAnimation
impl StructuralPartialEq for TabIndicatorAnimation
Auto Trait Implementations§
impl Forget for TabIndicatorAnimation
impl Freeze for TabIndicatorAnimation
impl Move for TabIndicatorAnimation
impl RefUnwindSafe for TabIndicatorAnimation
impl Send for TabIndicatorAnimation
impl Sync for TabIndicatorAnimation
impl Unpin for TabIndicatorAnimation
impl UnsafeUnpin for TabIndicatorAnimation
impl UnwindSafe for TabIndicatorAnimation
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.