Module core::fmt
[−]
[src]
Utilities for formatting and printing strings
Reexports
use prelude::v1::*; |
use cell::{Cell, RefCell, Ref, RefMut, BorrowState}; |
use marker::PhantomData; |
use mem; |
use num::flt2dec; |
use ops::Deref; |
use result; |
use slice; |
use str; |
use self::rt::v1::Alignment; |
Modules
builders | |
num |
Integer and floating-point number formatting |
rt | [Unstable] |
Structs
Arguments |
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. |
DebugList |
A struct to help with |
DebugMap |
A struct to help with |
DebugSet |
A struct to help with |
DebugStruct |
A struct to help with |
DebugTuple |
A struct to help with |
Error |
The error type which is returned from formatting a message into a stream. |
Formatter |
A struct to represent both where to emit formatting strings to and how they should be formatted. A mutable version of this is passed to all formatting traits. |
ArgumentV1 |
[Unstable] This struct represents the generic "argument" which is taken by the Xprintf family of functions. It contains a function to format the given value. At compile time it is ensured that the function and the value have the correct types, and then this struct is used to canonicalize arguments to one type. |
Radix |
[Deprecated] A radix with in the range of |
RadixFmt |
[Deprecated] A helper type for formatting radixes. |
Enums
FlagV1 | |
Void |
Traits
Binary |
Format trait for the |
Debug |
Format trait for the |
Display |
Format trait for an empty format, |
LowerExp |
Format trait for the |
LowerHex |
Format trait for the |
Octal |
Format trait for the |
Pointer |
Format trait for the |
UpperExp |
Format trait for the |
UpperHex |
Format trait for the |
Write |
A collection of methods that are required to format a message into a stream. |
Functions
float_to_decimal_common | |
float_to_exponential_common | |
write |
The |
radix |
[Deprecated] Constructs a radix formatter in the range of |
Type Definitions
Result |
The type returned by formatter methods. |