Trait ParsingImpl

Source
pub trait ParsingImpl:
    Copy
    + Eq
    + Debug {
    // Required methods
    fn can_be_quoted(bch: PartialCodePoint) -> bool;
    fn handle_normal_state(
        bch: PartialCodePoint,
    ) -> Result<(State<Self>, bool), CoreError>;

    // Provided method
    fn advance(
        &self,
        _pcp: PartialCodePoint,
    ) -> Result<(State<Self>, bool), CoreError> { ... }
}
Expand description

This normally zero sized type provides functions for parsing a quoted string

Required Methods§

Provided Methods§

Source

fn advance( &self, _pcp: PartialCodePoint, ) -> Result<(State<Self>, bool), CoreError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§