Struct mediawiki_parser::TransformationError [−][src]
pub struct TransformationError { pub cause: String, pub position: Span, pub transformation_name: String, pub tree: Element, }
Error structure for syntax tree transformations.
Fields
cause: String
position: Span
transformation_name: String
tree: Element
Trait Implementations
impl Debug for TransformationError
[src]
impl Debug for TransformationError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for TransformationError
[src]
impl PartialEq for TransformationError
fn eq(&self, other: &TransformationError) -> bool
[src]
fn eq(&self, other: &TransformationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TransformationError) -> bool
[src]
fn ne(&self, other: &TransformationError) -> bool
This method tests for !=
.
impl Error for TransformationError
[src]
impl Error for TransformationError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for TransformationError
[src]
impl Display for TransformationError
Auto Trait Implementations
impl Send for TransformationError
impl Send for TransformationError
impl Sync for TransformationError
impl Sync for TransformationError