pub enum Argument {
Constant,
Age,
ActiveTime,
EmissionTime,
}Expand description
What a Value is a function of.
Variants§
Constant
Nothing: the curve is read at 0.
Age
Seconds since the particle was emitted.
ActiveTime
Seconds since the emitter became active (after its delay, or when its state was entered).
EmissionTime
The emitter’s active time at which the particle was emitted; constant for the particle’s life.
Trait Implementations§
impl Copy for Argument
impl Eq for Argument
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Forget for Argument
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnsafeUnpin for Argument
impl UnwindSafe for Argument
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§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.