Trait rug::integer::ToSmall[][src]

pub trait ToSmall: SealedToSmall { }

Types implementing this trait can be converted to SmallInteger.

The following are implemented when T implements ToSmall:

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

impl ToSmall for i8[src]

impl ToSmall for i16[src]

impl ToSmall for i32[src]

impl ToSmall for i64[src]

impl ToSmall for i128[src]

impl ToSmall for isize[src]

impl ToSmall for bool[src]

impl ToSmall for u8[src]

impl ToSmall for u16[src]

impl ToSmall for u32[src]

impl ToSmall for u64[src]

impl ToSmall for u128[src]

impl ToSmall for usize[src]

Loading content...

Implementors

Loading content...