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

pub enum QuotingClass {
    QText,
    NeedsQuoting,
    Invalid,
}

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

Variants

QText

The char can be represented in a quoted string

NeedsQuoting

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

Invalid

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

Trait Implementations

impl Clone for QuotingClass[src]

impl Debug for QuotingClass[src]

impl Eq for QuotingClass[src]

impl Hash for QuotingClass[src]

impl PartialEq<QuotingClass> for QuotingClass[src]

impl StructuralEq for QuotingClass[src]

impl StructuralPartialEq for QuotingClass[src]

Auto Trait Implementations

impl RefUnwindSafe for QuotingClass

impl Send for QuotingClass

impl Sync for QuotingClass

impl Unpin for QuotingClass

impl UnwindSafe for QuotingClass

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.