Trait GenInt

Source
pub trait GenInt<I: BaseInt>:
    GenNum<I>
    + Eq
    + Not<Output = Self>
    + BitAnd<Output = Self>
    + BitOr<Output = Self>
    + BitXor<Output = Self>
    + Shl<usize, Output = Self>
    + Shr<usize, Output = Self> { }
Expand description

Generic interger type.

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.

Implementations on Foreign Types§

Source§

impl GenInt<i32> for i32

Source§

impl GenInt<u32> for u32

Implementors§

Source§

impl<T: BaseInt> GenInt<T> for Vector2<T>

Source§

impl<T: BaseInt> GenInt<T> for Vector3<T>

Source§

impl<T: BaseInt> GenInt<T> for Vector4<T>