Crate quoth Copy item path Source parsable Contains a menagerie of useful types that implement the Parsable
trait. Diagnostic Represents a diagnostic message that can be displayed to the user, typically indicating a
parsing error or highlighting some fact about a Span
of input Error Represents an error that occurred during parsing. IndexedLines An iterator over the lines of an IndexedStr
. IndexedSlice A &str
replacement that allows for safe indexing and slicing of multi-byte characters. IndexedString A String
replacement that allows for safe indexing and slicing of multi-byte characters. LineCol Represents a line and column within a Source
. ParseStream Represents a stream of text that can be parsed. Source Represents source text that can be indexed into to define individual Span
s. Span Represents a specific range of text within a Source
. SpanJoinError Indicates that two Span
s could not be joined because they do not come from the same Source
. DiagnosticLevel Represents the severity of a Diagnostic
. IndexedStr A trait that facilitates safe interaction with strings that contain multi-byte characters. MultiSpan A trait for types that have multiple Span
s. Parsable Types that can be parsed using Quoth must implement this trait. Pattern Generic over types that can be used to create a Regex Peekable Indicates that a type can be used to peek at a ParseStream
. Spanned A trait for types that have a Span
. common_prefix Utility function to find the common prefix between two str
s. parse Attempts to parse the specified string into a value of type T
. Result Represents the result of a parsing operation. ParsableExt Derives Display
and FromStr
based on the
the parse()
and unparse()
implementations of Parsable
for this type, respectively. Spanned Automatically derives Spanned
for the annotated type. This will work as long as there is
some struct field of type Span
.