Module konst::parsing[][src]

This is supported on crate feature parsing_no_proc only.

Parsing using const fn methods.

You can use the Parser type to parse from string slices, and byte slices, more information in its documentation.

If you’re looking for functions to parse some type from an entire string (instead of only part of it), then you want to look in the module for that type, eg: primitive::parse_bool.

If you do want to parse a type fron only part of a string, then you can use Parser’s parser_* methods.

Structs

ParseError

Error returned by all fallible parsing methods.

Parser

For parsing and traversing over byte strings in const contexts.

Enums

ErrorKind

What kind of parsing error this is.

ParseDirection

The direction that a parser was parsing from when an error happened.

Type Definitions

ParseValueResult

Result alias for functions that parse values.

ParserResult

Result alias for functions that mutate the parser fallibly.