logo
Expand description

Parsing of numbers.

Modules

Exposed namespace of the module.

Parented namespace of the module.

Namespace of the module to include with use module::*.

Protected namespace of the module.

Structs

Build number format from specifications.

Options to customize parsing floats.

Builder for Options.

Immutable options to customize writing integers.

Builder for Options.

Options to customize writing floats.

Builder for Options.

Immutable options to customize writing integers.

Builder for Options.

Enums

Error code during parsing, indicating failure type.

Constants

Maximum number of bytes required to serialize any number to string.

Traits

The size, in bytes, of formatted values.

Trait for numerical types that can be parsed from bytes.

Trait for numerical types that can be parsed from bytes with custom options.

Shared trait for all parser options.

Trait for numerical types that can be serialized to bytes.

Trait for numerical types that can be serialized to bytes with custom options.

Shared trait for all writer options.

Functions

Get the error type from the format packed struct.

Determine if the format packed struct is valid.

High-level conversion of decimal-encoded bytes to a number.

High-level, partial conversion of decimal-encoded bytes to a number.

High-level, partial conversion of bytes to a number with custom parsing options.

High-level conversion of bytes to a number with custom parsing options.

High-level conversion of a number to a decimal-encoded string.

High-level conversion of a number to a string with custom writing options.

Type Definitions

A specialized Result type for lexical operations.