Trait PositionBound

pub trait PositionBound:
    Sized
    + Add<Output = Self>
    + AddAssign
    + Sub<Output = Self>
    + SubAssign
    + Clone
    + Debug
    + Send
    + Sync
    + Mul<f64, Output = Self> { }
Available on crate feature cpu_os_threads only.
Expand description

Represents the current position of a cell-agent.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<T> PositionBound for T
where T: AddAssign + Sub<Output = T> + Add<Output = T> + SubAssign + Clone + Debug + Send + Sync + Mul<f64, Output = T>,