pub enum ContractTy {
Contract(Loc),
Interface(Loc),
Library(Loc),
}
Expand description
The contract type.
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 for ContractTy
impl PartialEq for ContractTy
impl Eq for ContractTy
impl StructuralPartialEq for ContractTy
Auto Trait Implementations§
impl Freeze for ContractTy
impl RefUnwindSafe for ContractTy
impl Send for ContractTy
impl Sync for ContractTy
impl Unpin for ContractTy
impl UnwindSafe for ContractTy
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