pub struct SpreadEvenly;Expand description
Distribute idle elevators evenly across the group’s stops.
For each idle elevator, assigns it to the stop position that maximizes the minimum distance from any other (non-idle or already-assigned) elevator. This spreads coverage across the shaft.
Trait Implementations§
Source§impl RepositionStrategy for SpreadEvenly
impl RepositionStrategy for SpreadEvenly
Auto Trait Implementations§
impl Freeze for SpreadEvenly
impl RefUnwindSafe for SpreadEvenly
impl Send for SpreadEvenly
impl Sync for SpreadEvenly
impl Unpin for SpreadEvenly
impl UnsafeUnpin for SpreadEvenly
impl UnwindSafe for SpreadEvenly
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