pub struct AnimationCondition {
pub parameter: String,
pub op: CmpOp,
pub value: f32,
}Expand description
One transition condition, parameter <op> value. All of a transition’s
conditions must pass for it to fire.
Fields§
§parameter: StringName of a declared graph parameter.
op: CmpOpComparison operator: lt, le, gt, ge, eq, or ne.
value: f32Right-hand side of the comparison.
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 (const: unstable) · 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
Source§impl Default for AnimationCondition
impl Default for AnimationCondition
Source§fn default() -> AnimationCondition
fn default() -> AnimationCondition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnimationConditionwhere
AnimationCondition: Default,
impl<'de> Deserialize<'de> for AnimationConditionwhere
AnimationCondition: Default,
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 AnimationCondition
impl RefUnwindSafe for AnimationCondition
impl Send for AnimationCondition
impl Sync for AnimationCondition
impl Unpin for AnimationCondition
impl UnsafeUnpin 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