Enum quoted_string::spec::QuotingClass[][src]

pub enum QuotingClass {
    QText,
    NeedsQuoting,
    Invalid,
}

Represents if a char can be contained in a quoted string and if it needs escapeing

Variants

The char can be represented in a quoted string

The char can be represented but needs quoting (e.g. the " in r#"bla\"blo"#)

The char is invalid (e.g. a CTL char)

Trait Implementations

impl Debug for QuotingClass
[src]

Formats the value using the given formatter. Read more

impl Eq for QuotingClass
[src]

impl PartialEq for QuotingClass
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for QuotingClass
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for QuotingClass
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations