Trait ForceBound

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

Represents a force which can act between two cells.

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> ForceBound for T
where T: AddAssign + Sub<Output = T> + Add<Output = T> + SubAssign + Clone + Debug + Zero + Send + Sync + Mul<f64, Output = T>,