Struct solang_parser::pt::SourceUnit
source · [−]pub struct SourceUnit(pub Vec<SourceUnitPart>);
Tuple Fields
0: Vec<SourceUnitPart>
Trait Implementations
sourceimpl Clone for SourceUnit
impl Clone for SourceUnit
sourcefn clone(&self) -> SourceUnit
fn clone(&self) -> SourceUnit
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 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
impl Eq for SourceUnit
impl StructuralEq for SourceUnit
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 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