pub struct Contract {
pub imports: HashMap<(String, String), Import>,
pub exports: HashMap<String, Export>,
}Fields§
§imports: HashMap<(String, String), Import>Things that the module can import
exports: HashMap<String, Export>Things that the module must export
Implementations§
Trait Implementations§
impl Eq for Contract
impl StructuralPartialEq for Contract
Auto Trait Implementations§
impl Freeze for Contract
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
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