Struct alloy_sol_macro_input::SolInput
source · pub struct SolInput {
pub attrs: Vec<Attribute>,
pub path: Option<PathBuf>,
pub kind: SolInputKind,
}
Expand description
Parsed input for sol!
-like macro expanders. This struct represents a list
of expandable items parsed from either solidity code snippets, or from a
JSON abi.
Fields§
§attrs: Vec<Attribute>
Attributes attached to the input, of the form #[...]
.
path: Option<PathBuf>
Path to the input, if any.
kind: SolInputKind
The input kind.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SolInput
impl RefUnwindSafe for SolInput
impl !Send for SolInput
impl !Sync for SolInput
impl Unpin for SolInput
impl UnwindSafe for SolInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)