pub trait UnsignedPrimitive: SealedUnsignedPrimitive { }
Expand description

Conversions between Integer and a slice of digits of this type are provided.

For conversion from digits to Integer, see Integer::from_digits and Integer::assign_digits. For conversion from Integer to digits, see Integer::significant_digits, Integer::to_digits, and Integer::write_digits.

This trait is sealed and cannot be implemented for more types; it is implemented for bool and the unsigned integer types u8, u16, u32, u64, u128 and usize.

Implementations on Foreign Types§

source§

impl UnsignedPrimitive for u128

source§

impl UnsignedPrimitive for u64

source§

impl UnsignedPrimitive for u16

source§

impl UnsignedPrimitive for usize

source§

impl UnsignedPrimitive for u32

source§

impl UnsignedPrimitive for u8

source§

impl UnsignedPrimitive for bool

Implementors§