pub struct Value {
pub argument: Argument,
pub curve: Curve,
pub variation: Vec<Variation>,
}Expand description
A scalar or vector quantity that may vary with time and at random: what every parameter of an emitter is.
Fields§
§argument: ArgumentWhat the curve is a function of.
curve: CurveThe base value.
variation: Vec<Variation>Variations applied to it, in order.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Forget for Value
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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