Struct solang_parser::pt::EventDefinition
source · [−]pub struct EventDefinition {
pub doc: Vec<DocComment>,
pub loc: Loc,
pub name: Identifier,
pub fields: Vec<EventParameter>,
pub anonymous: bool,
}
Fields
doc: Vec<DocComment>
loc: Loc
name: Identifier
fields: Vec<EventParameter>
anonymous: bool
Trait Implementations
sourceimpl Debug for EventDefinition
impl Debug for EventDefinition
sourceimpl PartialEq<EventDefinition> for EventDefinition
impl PartialEq<EventDefinition> for EventDefinition
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &EventDefinition) -> bool
fn ne(&self, other: &EventDefinition) -> bool
This method tests for !=
.
impl StructuralPartialEq for EventDefinition
Auto Trait Implementations
impl RefUnwindSafe for EventDefinition
impl Send for EventDefinition
impl Sync for EventDefinition
impl Unpin for EventDefinition
impl UnwindSafe for EventDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more