pub struct ParticlesConfig {
pub height: usize,
pub width: usize,
pub n_particles: usize,
pub max_edge_len: f64,
pub velocity_factor: f64,
}
Fields§
§height: usize
§width: usize
§n_particles: usize
§max_edge_len: f64
§velocity_factor: f64
Trait Implementations§
Source§impl Clone for ParticlesConfig
impl Clone for ParticlesConfig
Source§fn clone(&self) -> ParticlesConfig
fn clone(&self) -> ParticlesConfig
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ParticlesConfig
impl RefUnwindSafe for ParticlesConfig
impl Send for ParticlesConfig
impl Sync for ParticlesConfig
impl Unpin for ParticlesConfig
impl UnwindSafe for ParticlesConfig
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