pub enum AnimationBehavior {
Normal,
Preserve,
}Expand description
Configures how an AnimationController behaves when animations are
disabled.
When accessibility features such as “remove animations” are enabled, the device asks Flutter to reduce or disable animations as much as possible.
Variants§
Normal
The AnimationController will reduce its duration when animations
are disabled by the platform.
Preserve
The AnimationController will preserve its behavior.
Trait Implementations§
Source§impl Clone for AnimationBehavior
impl Clone for AnimationBehavior
Source§fn clone(&self) -> AnimationBehavior
fn clone(&self) -> AnimationBehavior
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnimationBehavior
Source§impl Debug for AnimationBehavior
impl Debug for AnimationBehavior
impl Eq for AnimationBehavior
Source§impl PartialEq for AnimationBehavior
impl PartialEq for AnimationBehavior
impl StructuralPartialEq for AnimationBehavior
Auto Trait Implementations§
impl Forget for AnimationBehavior
impl Freeze for AnimationBehavior
impl Move for AnimationBehavior
impl RefUnwindSafe for AnimationBehavior
impl Send for AnimationBehavior
impl Sync for AnimationBehavior
impl Unpin for AnimationBehavior
impl UnsafeUnpin for AnimationBehavior
impl UnwindSafe for AnimationBehavior
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.