# Trait NumBufferTrait

Source

    pub trait NumBufferTrait {
        const BUF_SIZE: usize;
    }

🔬This is a nightly-only experimental API. (`int_format_into` #138215)
Expand description

Trait used to describe the maximum number of digits in decimal base of the implemented integer.

## Required Associated Constants§

Source

#### const BUF_SIZE: usize

🔬This is a nightly-only experimental API. (`int_format_into` #138215)

Maximum number of digits in decimal base of the implemented integer.

## 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.

## Implementors§

Source§

### impl NumBufferTrait for i8

Source§

#### const BUF_SIZE: usize = 4usize

Source§

### impl NumBufferTrait for i16

Source§

#### const BUF_SIZE: usize = 6usize

Source§

### impl NumBufferTrait for i32

Source§

#### const BUF_SIZE: usize = 11usize

Source§

### impl NumBufferTrait for i64

Source§

#### const BUF_SIZE: usize = 20usize

Source§

### impl NumBufferTrait for i128

Source§

#### const BUF_SIZE: usize = 40usize

Source§

### impl NumBufferTrait for isize

Source§

#### const BUF_SIZE: usize = 20usize

Source§

### impl NumBufferTrait for u8

Source§

#### const BUF_SIZE: usize = 3usize

Source§

### impl NumBufferTrait for u16

Source§

#### const BUF_SIZE: usize = 5usize

Source§

### impl NumBufferTrait for u32

Source§

#### const BUF_SIZE: usize = 10usize

Source§

### impl NumBufferTrait for u64

Source§

#### const BUF_SIZE: usize = 20usize

Source§

### impl NumBufferTrait for u128

Source§

#### const BUF_SIZE: usize = 39usize

Source§

### impl NumBufferTrait for usize

Source§

#### const BUF_SIZE: usize = 20usize