Struct solang_parser::pt::ErrorDefinition
source · pub struct ErrorDefinition {
pub loc: Loc,
pub keyword: Expression,
pub name: Option<Identifier>,
pub fields: Vec<ErrorParameter>,
}Fields§
§loc: Loc§keyword: Expression§name: Option<Identifier>§fields: Vec<ErrorParameter>Trait Implementations§
source§impl Clone for ErrorDefinition
impl Clone for ErrorDefinition
source§fn clone(&self) -> ErrorDefinition
fn clone(&self) -> ErrorDefinition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ErrorDefinition
impl Debug for ErrorDefinition
source§impl PartialEq<ErrorDefinition> for ErrorDefinition
impl PartialEq<ErrorDefinition> for ErrorDefinition
source§fn eq(&self, other: &ErrorDefinition) -> bool
fn eq(&self, other: &ErrorDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.