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: SolInputKindThe 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