Expand description
Parser implementation for bevy_pretty_text
.
Provides the trait extension ParserContext
for easily adding
StrContext
for error reporting.
Modules§
- syntax
- Module for generating parser documentation.
Structs§
- Milliseconds
- A duration expressed in milliseconds.
- Minutes
- A duration expressed in minutes.
- Pretty
Text - Seconds
- A duration expressed in seconds.
- Style
- Styles
Enums§
- Arg
- Command
Kind - Item
- Pretty
Parser Error - Error produced by a pretty text parsing failure.
- Span
Traits§
- ArgParser
- Trait for customizing how an argument is parsed for the dynamic effect trait.
- Parser
Context - Wraps
winnow
’s context error reporting with short names.
Functions§
- duration_
millis - Parse a duration from
input
and convert to milliseconds. - duration_
mins - Parse a duration from
input
and convert to minutes. - duration_
secs - Parse a duration from
input
and convert to seconds. - parse
- range
- Parse a bounded range from
input
. - trim
- Trim whitespace surrounding
parser
. - tuple_
struct - Parse fields of a tuple struct with
inner
.