Trait Integer

Source
pub trait Integer:
    Debug
    + PrimInt
    + Unsigned { }
Expand description

Generic trait for integers to be used as set members in crate::BitSet and as keys in crate::VecMap.

Based on num_traits.

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 Integer for u8

Source§

impl Integer for u16

Source§

impl Integer for u32

Source§

impl Integer for usize

Implementors§