[][src]Trait maths_traits::algebra::ring_like::Distributive

pub trait Distributive<T = Self> { }

A marker trait for stucts whose multiplication operation preserves addition, ie z*(x+y)=z*x+z*y and (x+y)*z=x*z+y*z for all x, y, and z.

Implementations on Foreign Types

impl Distributive<usize> for usize[src]

impl Distributive<Wrapping<usize>> for Wrapping<usize>[src]

impl Distributive<u8> for u8[src]

impl Distributive<Wrapping<u8>> for Wrapping<u8>[src]

impl Distributive<u16> for u16[src]

impl Distributive<Wrapping<u16>> for Wrapping<u16>[src]

impl Distributive<u32> for u32[src]

impl Distributive<Wrapping<u32>> for Wrapping<u32>[src]

impl Distributive<u64> for u64[src]

impl Distributive<Wrapping<u64>> for Wrapping<u64>[src]

impl Distributive<u128> for u128[src]

impl Distributive<Wrapping<u128>> for Wrapping<u128>[src]

impl Distributive<isize> for isize[src]

impl Distributive<Wrapping<isize>> for Wrapping<isize>[src]

impl Distributive<i8> for i8[src]

impl Distributive<Wrapping<i8>> for Wrapping<i8>[src]

impl Distributive<i16> for i16[src]

impl Distributive<Wrapping<i16>> for Wrapping<i16>[src]

impl Distributive<i32> for i32[src]

impl Distributive<Wrapping<i32>> for Wrapping<i32>[src]

impl Distributive<i64> for i64[src]

impl Distributive<Wrapping<i64>> for Wrapping<i64>[src]

impl Distributive<i128> for i128[src]

impl Distributive<Wrapping<i128>> for Wrapping<i128>[src]

impl Distributive<f32> for f32[src]

impl Distributive<Wrapping<f32>> for Wrapping<f32>[src]

impl Distributive<f64> for f64[src]

impl Distributive<Wrapping<f64>> for Wrapping<f64>[src]

Loading content...

Implementors

Loading content...