pub enum SolInputKind {
Type(Type),
Sol(File),
}
Expand description
Parsed input for sol!
-like macro expanders. This enum represents a Sol
file, a JSON ABI, or
a Solidity type.
Variants§
Trait Implementations§
Source§impl Clone for SolInputKind
impl Clone for SolInputKind
Source§fn clone(&self) -> SolInputKind
fn clone(&self) -> SolInputKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SolInputKind
impl Debug for SolInputKind
Source§impl Parse for SolInputKind
impl Parse for SolInputKind
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for SolInputKind
impl RefUnwindSafe for SolInputKind
impl !Send for SolInputKind
impl !Sync for SolInputKind
impl Unpin for SolInputKind
impl UnwindSafe for SolInputKind
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
)