pub enum ForceFieldKind {
Show 14 variants
Gravity,
Drag,
Damping,
Directional,
Radial,
Attractor,
Repulsor,
Vortex,
Orbital,
Turbulence,
CurlNoise,
Wind,
Buoyancy,
CustomVectorField,
}Expand description
Force field kind — type of spatial force applied to particles.
Variants§
Gravity
Drag
Damping
Directional
Radial
Attractor
Repulsor
Vortex
Orbital
Turbulence
CurlNoise
Wind
Buoyancy
CustomVectorField
Implementations§
Trait Implementations§
Source§impl Clone for ForceFieldKind
impl Clone for ForceFieldKind
Source§fn clone(&self) -> ForceFieldKind
fn clone(&self) -> ForceFieldKind
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 ForceFieldKind
impl Debug for ForceFieldKind
Source§impl<'de> Deserialize<'de> for ForceFieldKind
impl<'de> Deserialize<'de> for ForceFieldKind
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
Source§impl Hash for ForceFieldKind
impl Hash for ForceFieldKind
Source§impl PartialEq for ForceFieldKind
impl PartialEq for ForceFieldKind
Source§impl Serialize for ForceFieldKind
impl Serialize for ForceFieldKind
impl Copy for ForceFieldKind
impl Eq for ForceFieldKind
impl StructuralPartialEq for ForceFieldKind
Auto Trait Implementations§
impl Freeze for ForceFieldKind
impl RefUnwindSafe for ForceFieldKind
impl Send for ForceFieldKind
impl Sync for ForceFieldKind
impl Unpin for ForceFieldKind
impl UnsafeUnpin for ForceFieldKind
impl UnwindSafe for ForceFieldKind
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