pub fn peek(&self, no_from_top: usize) -> Result<U256, Return> {
        if self.data.len() > no_from_top {
            Ok(self.data[self.data.len() - no_from_top - 1])
        } else {
            Err(Return::StackUnderflow)
        }
    }
/// Peek a value at given index for the stack, where the top of
/// the stack is at index `0`. If the index is too large,
/// `StackError::Underflow` is returned.
Peek a value at given index for the stack, where the top of
the stack is at index `0`. If the index is too large,
`StackError::Underflow` is returned.
Peek a value at given index for the stack where the top of the stack is at index ` 0 ` . If the index is too large ` StackError :: Underflow ` is returned .
pub fn peek(&self, no_from_top: usize) -> Result<U256, Return> {
        if self.data.len() > no_from_top {
            Ok(self.data[self.data.len() - no_from_top - 1])
        } else {
            Err(Return::StackUnderflow)
        }
    }
pub fn peek ( & self , no_from_top : usize ) -> Result < U256 , Return > { if self . data . len ( ) > no_from_top { Ok ( self . data [ self . data . len ( ) - no_from_top - 1 ] ) } else { Err ( Return :: StackUnderflow ) } }
Peek a value at given index for the stack, where the top of
the stack is at index `0`.
Peek a value at given index for the stack where the top of the stack is at index ` 0 ` .
&self
no_from_top
usize
&self
no_from_top
usize