#[repr(i32)]pub enum FillMode {
None = 0,
Forward = 1,
Backward = 2,
Both = 3,
}Expand description
Determines which of an animation’s values stay applied outside of its active period.
Variants§
None = 0
Nothing is applied before the animation starts or after it ends.
Forward = 1
The last value is retained after the animation ends.
Backward = 2
The first value is applied during the initial delay.
Both = 3
Both of the above.
Trait Implementations§
impl Copy for FillMode
impl Eq for FillMode
Source§impl MarkupTyped for FillMode
impl MarkupTyped for FillMode
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
impl StructuralPartialEq for FillMode
Auto Trait Implementations§
impl Freeze for FillMode
impl RefUnwindSafe for FillMode
impl Send for FillMode
impl Sync for FillMode
impl Unpin for FillMode
impl UnsafeUnpin for FillMode
impl UnwindSafe for FillMode
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more