Struct solang_parser::pt::SourceUnit
source · pub struct SourceUnit(pub Vec<SourceUnitPart>);
Tuple Fields§
§0: Vec<SourceUnitPart>
Trait Implementations§
source§impl Clone for SourceUnit
impl Clone for SourceUnit
source§fn clone(&self) -> SourceUnit
fn clone(&self) -> SourceUnit
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 SourceUnit
impl Debug for SourceUnit
source§impl PartialEq<SourceUnit> for SourceUnit
impl PartialEq<SourceUnit> for SourceUnit
source§fn eq(&self, other: &SourceUnit) -> bool
fn eq(&self, other: &SourceUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.