Skip to main content

Commutative

Trait Commutative 

Source
pub trait Commutative { }
Expand description

Marker trait: Promises that a * b == b * a. IMPLEMENT THIS for f64, f32, Float, Complex. DO NOT IMPLEMENT for Quaternion, Octonion.

Implementations on Foreign Types§

Source§

impl Commutative for f32

Source§

impl Commutative for f64

Source§

impl Commutative for i8

Source§

impl Commutative for i16

Source§

impl Commutative for i32

Source§

impl Commutative for i64

Source§

impl Commutative for i128

Source§

impl Commutative for isize

Source§

impl Commutative for u8

Source§

impl Commutative for u16

Source§

impl Commutative for u32

Source§

impl Commutative for u64

Source§

impl Commutative for u128

Source§

impl Commutative for usize

Implementors§