pub enum AnimationCondition {
Greater {
parameter: u8,
value: f32,
},
Less {
parameter: u8,
value: f32,
},
Trigger(u8),
Finished,
}Variants§
Greater
Less
Trigger(u8)
Latched separately from scalar parameters; consumed only when its transition wins. Other pending triggers survive until cleared/consumed.
Finished
Trait Implementations§
Source§impl Clone for AnimationCondition
impl Clone for AnimationCondition
Source§fn clone(&self) -> AnimationCondition
fn clone(&self) -> AnimationCondition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationCondition
impl Debug for AnimationCondition
impl Copy for AnimationCondition
Auto Trait Implementations§
impl Freeze for AnimationCondition
impl RefUnwindSafe for AnimationCondition
impl Send for AnimationCondition
impl Sync for AnimationCondition
impl Unpin for AnimationCondition
impl UnwindSafe for AnimationCondition
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