Trait New

Source
pub trait New {
    // Provided method
    fn new(input: &str, code: ErrorKind) -> NomError<'_> { ... }
}

Provided Methods§

Source

fn new(input: &str, code: ErrorKind) -> NomError<'_>

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§

Source§

impl New for NomError<'_>