[−][src]Enum quoted_string::test_utils::TestParsingImpl
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]
fn clone(&self) -> TestParsingImpl[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for TestParsingImpl[src]
impl Debug for TestParsingImpl[src]
impl Eq for TestParsingImpl[src]
impl Hash for TestParsingImpl[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl ParsingImpl for TestParsingImpl[src]
fn can_be_quoted(bch: PartialCodePoint) -> bool[src]
fn handle_normal_state(
bch: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>[src]
bch: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>
fn advance(
&self,
pcp: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>[src]
&self,
pcp: PartialCodePoint
) -> Result<(State<Self>, bool), CoreError>
impl PartialEq<TestParsingImpl> for TestParsingImpl[src]
fn eq(&self, other: &TestParsingImpl) -> bool[src]
fn ne(&self, other: &TestParsingImpl) -> bool[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,