Struct solang_parser::pt::EventDefinition
source · [−]pub struct EventDefinition {
pub loc: Loc,
pub name: Identifier,
pub fields: Vec<EventParameter>,
pub anonymous: bool,
}Fields
loc: Locname: Identifierfields: Vec<EventParameter>anonymous: boolTrait Implementations
sourceimpl Clone for EventDefinition
impl Clone for EventDefinition
sourcefn clone(&self) -> EventDefinition
fn clone(&self) -> EventDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
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