Struct solang_parser::pt::EventDefinition
source · pub struct EventDefinition {
pub loc: Loc,
pub name: Option<Identifier>,
pub fields: Vec<EventParameter>,
pub anonymous: bool,
}
Fields§
§loc: Loc
§name: Option<Identifier>
§fields: Vec<EventParameter>
§anonymous: bool
Trait Implementations§
source§impl Clone for EventDefinition
impl Clone for EventDefinition
source§fn clone(&self) -> EventDefinition
fn clone(&self) -> EventDefinition
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 EventDefinition
impl Debug for EventDefinition
source§impl PartialEq<EventDefinition> for EventDefinition
impl PartialEq<EventDefinition> for EventDefinition
source§fn eq(&self, other: &EventDefinition) -> bool
fn eq(&self, other: &EventDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.