Expand description
The GmpConversionSpec struct, the
GmpFormatArg trait, and the gmp_format
function, for formatting values according to GMP-style printf format strings; the
gmp_format! macro wraps them.
Structs§
- GmpConversion
Spec - A single parsed
printf-style conversion specification, as GMP’s and MPFR’s formatted-output functions understand them:% [flags] [width] [.precision] [type] [rounding] conv.
Traits§
- GmpFormat
Arg - A value that can be consumed by a conversion of a GMP-style format string; see
gmp_format.
Functions§
- gmp_
format - Formats a sequence of values according to a GMP-style
printfformat string, each conversion consuming the next value, asgmp_printfandmpfr_printfdo. - parse_
gmp_ conversion_ spec - Parses a single conversion specification, starting just after the
%, and returns it along with the unconsumed tail.starsupplies the value of a*field width or precision, from the argument list; it may fail, and a caller with no argument list simply passes&mut || None.