Struct itoa::Buffer[][src]

pub struct Buffer { /* fields omitted */ }

A safe API for formatting integers to text.

Example

let mut buffer = itoa::Buffer::new();
let printed = buffer.format(1234);
assert_eq!(printed, "1234");

Methods

impl Buffer
[src]

This is a cheap operation; you don't need to worry about reusing buffers for efficiency.

Print an integer into this buffer and return a reference to its string representation within the buffer.

Trait Implementations

impl Copy for Buffer
[src]

impl Default for Buffer
[src]

Returns the "default value" for a type. Read more

impl Clone for Buffer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Buffer

impl Sync for Buffer