pub struct InterfaceDefinition {
pub name: String,
pub inheritance: Vec<InheritanceSpecifier>,
pub body: Vec<ContractBodyElement>,
}
Fields§
§name: String
§inheritance: Vec<InheritanceSpecifier>
§body: Vec<ContractBodyElement>
Trait Implementations§
Source§impl Clone for InterfaceDefinition
impl Clone for InterfaceDefinition
Source§fn clone(&self) -> InterfaceDefinition
fn clone(&self) -> InterfaceDefinition
Returns a duplicate 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 InterfaceDefinition
impl Debug for InterfaceDefinition
Source§impl PartialEq for InterfaceDefinition
impl PartialEq for InterfaceDefinition
impl StructuralPartialEq for InterfaceDefinition
Auto Trait Implementations§
impl Freeze for InterfaceDefinition
impl RefUnwindSafe for InterfaceDefinition
impl Send for InterfaceDefinition
impl Sync for InterfaceDefinition
impl Unpin for InterfaceDefinition
impl UnwindSafe for InterfaceDefinition
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