pub struct FieldResponse {
pub speed: Value,
pub speed_multiplier: Value,
pub acceleration: Value,
pub acceleration_multiplier: Value,
}Expand description
A particle’s response to the force fields of the system: the speed it takes along a field’s direction (speed times
speed_multiplier) and the acceleration (acceleration times acceleration_multiplier), functions of the emitter’s
active time; the part a source does not state is a constant 0 (and its multiplier 1).
Fields§
§speed: Value§speed_multiplier: Value§acceleration: Value§acceleration_multiplier: ValueTrait Implementations§
Source§impl Clone for FieldResponse
impl Clone for FieldResponse
Source§impl Debug for FieldResponse
impl Debug for FieldResponse
Source§impl PartialEq for FieldResponse
impl PartialEq for FieldResponse
Source§impl Serialize for FieldResponse
impl Serialize for FieldResponse
impl StructuralPartialEq for FieldResponse
Auto Trait Implementations§
impl Forget for FieldResponse
impl Freeze for FieldResponse
impl RefUnwindSafe for FieldResponse
impl Send for FieldResponse
impl Sync for FieldResponse
impl Unpin for FieldResponse
impl UnsafeUnpin for FieldResponse
impl UnwindSafe for FieldResponse
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