Trait Integer

Source
pub trait Integer: Sealed { }
Expand description

A trait for integer types that can be compared with cmp_int function.

This trait is sealed and cannot be implemented outside of fmt_cmp crate.

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 u64

Source§

impl Integer for u128

Source§

impl Integer for usize

Implementors§