Skip to main content

Unit

Trait Unit 

Source
pub trait Unit: Sized {
    const UNIT: Self;
}

Required Associated Constants§

Source

const UNIT: Self

The unit matrix.

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§

Source§

impl<const LIMBS: usize> Unit for IntMatrix<LIMBS>

Source§

const UNIT: Self

Source§

impl<const LIMBS: usize, Matrix: Unit> Unit for DividedMatrix<LIMBS, Matrix>

Source§

const UNIT: Self