pub struct ExternCrates {
pub sol_types: Path,
pub contract: Path,
}
Expand description
Configurable extern crate dependencies.
These should be added to import lists at the top of anonymous const _: () = { ... }
blocks,
and in case of top-level structs they should be inlined into all path
s.
Fields§
§sol_types: Path
The path to the alloy_sol_types
crate.
contract: Path
The path to the alloy_contract
crate.
Implementations§
Trait Implementations§
Source§impl Debug for ExternCrates
impl Debug for ExternCrates
Auto Trait Implementations§
impl Freeze for ExternCrates
impl RefUnwindSafe for ExternCrates
impl !Send for ExternCrates
impl !Sync for ExternCrates
impl Unpin for ExternCrates
impl UnwindSafe for ExternCrates
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