pub enum ConditionLostReaction {
None,
Pause,
Cancel,
}Expand description
What happens when the transition is stopped or conditions aren’t met anymore for it to continue.
Variants§
None
Nothing happens, the transition continues.
Pause
The transition pauses and keeps its progress.
Cancel
The transition is cancelled and all progress is lost. If consume_input_immediate was true, the input items are not returned.
Trait Implementations§
Source§impl Clone for ConditionLostReaction
impl Clone for ConditionLostReaction
Source§fn clone(&self) -> ConditionLostReaction
fn clone(&self) -> ConditionLostReaction
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 ConditionLostReaction
impl Debug for ConditionLostReaction
Source§impl<'de> Deserialize<'de> for ConditionLostReaction
impl<'de> Deserialize<'de> for ConditionLostReaction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConditionLostReaction
impl RefUnwindSafe for ConditionLostReaction
impl Send for ConditionLostReaction
impl Sync for ConditionLostReaction
impl Unpin for ConditionLostReaction
impl UnwindSafe for ConditionLostReaction
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