Enum solang_parser::pt::ContractTy
source · pub enum ContractTy {
Abstract(Loc),
Contract(Loc),
Interface(Loc),
Library(Loc),
}Variants§
Trait Implementations§
source§impl Clone for ContractTy
impl Clone for ContractTy
source§fn clone(&self) -> ContractTy
fn clone(&self) -> ContractTy
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 ContractTy
impl Debug for ContractTy
source§impl Display for ContractTy
impl Display for ContractTy
source§impl PartialEq<ContractTy> for ContractTy
impl PartialEq<ContractTy> for ContractTy
source§fn eq(&self, other: &ContractTy) -> bool
fn eq(&self, other: &ContractTy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.