pub struct CollisionFreeSpeed;Expand description
Unit marker type implementing PedestrianModel for the Collision-Free
Speed model.
Trait Implementations§
Source§impl Clone for CollisionFreeSpeed
impl Clone for CollisionFreeSpeed
Source§fn clone(&self) -> CollisionFreeSpeed
fn clone(&self) -> CollisionFreeSpeed
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 CollisionFreeSpeed
impl Debug for CollisionFreeSpeed
Source§impl Default for CollisionFreeSpeed
impl Default for CollisionFreeSpeed
Source§fn default() -> CollisionFreeSpeed
fn default() -> CollisionFreeSpeed
Returns the “default value” for a type. Read more
Source§impl PedestrianModel for CollisionFreeSpeed
impl PedestrianModel for CollisionFreeSpeed
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 CollisionFreeSpeed
Auto Trait Implementations§
impl Freeze for CollisionFreeSpeed
impl RefUnwindSafe for CollisionFreeSpeed
impl Send for CollisionFreeSpeed
impl Sync for CollisionFreeSpeed
impl Unpin for CollisionFreeSpeed
impl UnsafeUnpin for CollisionFreeSpeed
impl UnwindSafe for CollisionFreeSpeed
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