Struct solang_parser::pt::ContractDefinition
source · [−]pub struct ContractDefinition {
pub loc: Loc,
pub ty: ContractTy,
pub name: Identifier,
pub base: Vec<Base>,
pub parts: Vec<ContractPart>,
}
Fields
loc: Loc
ty: ContractTy
name: Identifier
base: Vec<Base>
parts: Vec<ContractPart>
Trait Implementations
sourceimpl Clone for ContractDefinition
impl Clone for ContractDefinition
sourcefn clone(&self) -> ContractDefinition
fn clone(&self) -> ContractDefinition
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 ContractDefinition
impl Debug for ContractDefinition
sourceimpl PartialEq<ContractDefinition> for ContractDefinition
impl PartialEq<ContractDefinition> for ContractDefinition
sourcefn eq(&self, other: &ContractDefinition) -> bool
fn eq(&self, other: &ContractDefinition) -> bool
impl Eq for ContractDefinition
impl StructuralEq for ContractDefinition
impl StructuralPartialEq for ContractDefinition
Auto Trait Implementations
impl RefUnwindSafe for ContractDefinition
impl Send for ContractDefinition
impl Sync for ContractDefinition
impl Unpin for ContractDefinition
impl UnwindSafe for ContractDefinition
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