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 more
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