[][src]Enum quoted_string::test_utils::TestParsingImpl

pub enum TestParsingImpl {
    StrangeInc(usize),
    StrangeDec(usize),
}

a parsing implementations which allows non semantic stange thinks in it for testing purpose

basically you can have a non-semantic section starting with ending with which has a number of + followed by the same number of -.

E.g. "some think \n+++---\n"

This naturally makes no sense, but is a simple way to test if the custom state is used correctly, there are some quoted string impl which need custom state as they can e.g. have non semantic soft line brakes (which are slight more complex to implement and less visible in error messages, so I used this think here)

Variants

StrangeInc(usize)
StrangeDec(usize)

Trait Implementations

impl Clone for TestParsingImpl[src]

impl Copy for TestParsingImpl[src]

impl Debug for TestParsingImpl[src]

impl Eq for TestParsingImpl[src]

impl Hash for TestParsingImpl[src]

impl ParsingImpl for TestParsingImpl[src]

impl PartialEq<TestParsingImpl> for TestParsingImpl[src]

impl StructuralEq for TestParsingImpl[src]

impl StructuralPartialEq for TestParsingImpl[src]

Auto Trait Implementations

impl RefUnwindSafe for TestParsingImpl

impl Send for TestParsingImpl

impl Sync for TestParsingImpl

impl Unpin for TestParsingImpl

impl UnwindSafe for TestParsingImpl

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.