pub struct VyperStack<'a>(pub &'a mut [Vyper<'a>]);Expand description
Represents multiple vyper contract allocated on the stack, synchronous / blocking API for multiple compilations with scoped threads
Tuple Fields§
§0: &'a mut [Vyper<'a>]Implementations§
Source§impl<'a> VyperStack<'a>
impl<'a> VyperStack<'a>
pub fn compile_many(&mut self) -> Result<(), VyperErrors>
pub fn compile_many_ver(&mut self, evm_version: &Evm) -> Result<(), VyperErrors>
pub fn gen_abi_many(&self) -> Result<(), VyperErrors>
Trait Implementations§
Source§impl<'a> Debug for VyperStack<'a>
impl<'a> Debug for VyperStack<'a>
Source§impl<'a> Default for VyperStack<'a>
impl<'a> Default for VyperStack<'a>
Source§fn default() -> VyperStack<'a>
fn default() -> VyperStack<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Hash for VyperStack<'a>
impl<'a> Hash for VyperStack<'a>
Source§impl<'a> Ord for VyperStack<'a>
impl<'a> Ord for VyperStack<'a>
Source§fn cmp(&self, other: &VyperStack<'a>) -> Ordering
fn cmp(&self, other: &VyperStack<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for VyperStack<'a>
impl<'a> PartialEq for VyperStack<'a>
Source§impl<'a> PartialOrd for VyperStack<'a>
impl<'a> PartialOrd for VyperStack<'a>
impl<'a> Eq for VyperStack<'a>
impl<'a> StructuralPartialEq for VyperStack<'a>
Auto Trait Implementations§
impl<'a> Freeze for VyperStack<'a>
impl<'a> RefUnwindSafe for VyperStack<'a>
impl<'a> Send for VyperStack<'a>
impl<'a> Sync for VyperStack<'a>
impl<'a> Unpin for VyperStack<'a>
impl<'a> !UnwindSafe for VyperStack<'a>
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