pub enum SourceUnitPart {
ContractDefinition(Box<ContractDefinition>),
ImportDirective(Import),
}
Variants§
ContractDefinition(Box<ContractDefinition>)
ImportDirective(Import)
Implementations§
Trait Implementations§
Source§impl Clone for SourceUnitPart
impl Clone for SourceUnitPart
Source§fn clone(&self) -> SourceUnitPart
fn clone(&self) -> SourceUnitPart
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 SourceUnitPart
impl Debug for SourceUnitPart
Source§impl PartialEq for SourceUnitPart
impl PartialEq for SourceUnitPart
impl Eq for SourceUnitPart
impl StructuralPartialEq for SourceUnitPart
Auto Trait Implementations§
impl Freeze for SourceUnitPart
impl RefUnwindSafe for SourceUnitPart
impl Send for SourceUnitPart
impl Sync for SourceUnitPart
impl Unpin for SourceUnitPart
impl UnwindSafe for SourceUnitPart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more