pub enum InitialWalkers {
CardinalsAndOrdinals,
Custom(Vec<f64>),
}Expand description
Determines the orientation of the initial walkers placed at the start of the simulation.
Variants§
CardinalsAndOrdinals
Eight walkers, oriented towards each one of the cardinal and ordinal directions (N, S, E, W, NE, SE, NW, SW).
Custom(Vec<f64>)
Walkers will be oriented at the angles in this vector. Angles are in units of Pi radians. Values will be clamped to 0.00..=2.00.
Auto Trait Implementations§
impl Freeze for InitialWalkers
impl RefUnwindSafe for InitialWalkers
impl Send for InitialWalkers
impl Sync for InitialWalkers
impl Unpin for InitialWalkers
impl UnwindSafe for InitialWalkers
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