Struct solang_parser::pt::EventDefinition
source · [−]pub struct EventDefinition {
pub loc: Loc,
pub name: Identifier,
pub fields: Vec<EventParameter>,
pub anonymous: bool,
}
Fields
loc: Loc
name: Identifier
fields: Vec<EventParameter>
anonymous: bool
Trait 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 moresourceimpl 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
impl Eq for EventDefinition
impl StructuralEq for EventDefinition
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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