Struct solang_parser::pt::SourceUnit
source · [−]pub struct SourceUnit(pub Vec<SourceUnitPart>);
Tuple Fields
0: Vec<SourceUnitPart>
Trait Implementations
sourceimpl Debug for SourceUnit
impl Debug for SourceUnit
sourceimpl PartialEq<SourceUnit> for SourceUnit
impl PartialEq<SourceUnit> for SourceUnit
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SourceUnit) -> bool
fn ne(&self, other: &SourceUnit) -> bool
This method tests for !=
.
impl StructuralPartialEq for SourceUnit
Auto Trait Implementations
impl RefUnwindSafe for SourceUnit
impl Send for SourceUnit
impl Sync for SourceUnit
impl Unpin for SourceUnit
impl UnwindSafe for SourceUnit
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