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.
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)