pub struct SocialForce;Expand description
Unit marker type implementing PedestrianModel for Social Force.
Trait Implementations§
Source§impl Clone for SocialForce
impl Clone for SocialForce
Source§fn clone(&self) -> SocialForce
fn clone(&self) -> SocialForce
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 SocialForce
impl Debug for SocialForce
Source§impl Default for SocialForce
impl Default for SocialForce
Source§fn default() -> SocialForce
fn default() -> SocialForce
Returns the “default value” for a type. Read more
Source§impl PedestrianModel for SocialForce
impl PedestrianModel for SocialForce
Source§fn step(
&self,
peds: &mut [Pedestrian],
walls: &[WallSegment],
params: &Params,
dt: f64,
)
fn step( &self, peds: &mut [Pedestrian], walls: &[WallSegment], params: &Params, dt: f64, )
impl Copy for SocialForce
Auto Trait Implementations§
impl Freeze for SocialForce
impl RefUnwindSafe for SocialForce
impl Send for SocialForce
impl Sync for SocialForce
impl Unpin for SocialForce
impl UnsafeUnpin for SocialForce
impl UnwindSafe for SocialForce
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