# Struct collections::fmt::Arguments [−] [src]

    pub struct Arguments<'a> {
        // some fields omitted
    }

1.0.0

This structure represents a safely precompiled version of a format string and its arguments. This cannot be generated at runtime because it cannot safely be done so, so no constructors are given and the fields are private to prevent modification.

The `format_args!` macro will safely create an instance of this structure and pass it to a function or closure, passed as the first argument. The macro validates the format string at compile-time so usage of the `write` and `format` functions can be safely performed.

## Trait Implementations

### `impl<'a> Display for Arguments<'a>`

#### `fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>`

### `impl<'a> Debug for Arguments<'a>`

#### `fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>`

### Derived Implementations

### `impl<'a> Copy for Arguments<'a>`

### `impl<'a> Clone for Arguments<'a>`

#### `fn clone(&self) -> Arguments<'a>`

#### `fn clone_from(&mut self, source: &Self)`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)