Skip to main content

BixverseNumeric

Trait BixverseNumeric 

Source
pub trait BixverseNumeric:
    Clone
    + Default
    + Copy
    + Sync
    + Send
    + Add<Output = Self>
    + Mul<Output = Self>
    + Sub<Output = Self>
    + AddAssign
    + PartialEq
    + Sub
    + DivAssign { }
Expand description

More general numeric trait that includes also integers

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> BixverseNumeric for T
where T: Clone + Default + Copy + Sync + Send + Add<Output = Self> + Mul<Output = Self> + Sub<Output = Self> + AddAssign + PartialEq + Sub + DivAssign,