Struct regex_syntax::hir::Error [−][src]
pub struct Error { /* fields omitted */ }
An error that can occur while translating an Ast
to a Hir
.
Implementations
impl Error
[src]
impl Error
[src]pub fn kind(&self) -> &ErrorKind
[src]
Return the type of this error.
pub fn pattern(&self) -> &str
[src]
The original pattern string in which this error occurred.
Every span reported by this error is reported in terms of this string.
pub fn span(&self) -> &Span
[src]
Return the span at which this error occurred.
Trait Implementations
impl StructuralEq for Error
[src]
impl StructuralEq for Error
[src]impl StructuralPartialEq for Error
[src]
impl StructuralPartialEq for Error
[src]Auto Trait Implementations
impl RefUnwindSafe for Error
impl RefUnwindSafe for Error
impl UnwindSafe for Error
impl UnwindSafe for Error