pub struct SolidityTestContractBuilder { /* private fields */ }
Expand description
Enhanced test builder using proper Solidity AST
Implementations§
Source§impl SolidityTestContractBuilder
impl SolidityTestContractBuilder
pub fn new(contract_name: String) -> Self
pub fn add_import(self, import_path: String) -> Self
pub fn build_with_contract<F>(self, build_contract: F) -> SolidityTestContractwhere
F: FnOnce(&mut ContractBuilder),
Auto Trait Implementations§
impl Freeze for SolidityTestContractBuilder
impl RefUnwindSafe for SolidityTestContractBuilder
impl Send for SolidityTestContractBuilder
impl Sync for SolidityTestContractBuilder
impl Unpin for SolidityTestContractBuilder
impl UnwindSafe for SolidityTestContractBuilder
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