pub struct YulFunction {
pub name: String,
pub params: Vec<String>,
pub returns: Vec<String>,
pub body: Vec<YulStmt>,
}Expand description
EVM Yul function definition
Fields§
§name: String§params: Vec<String>§returns: Vec<String>§body: Vec<YulStmt>Trait Implementations§
Source§impl Clone for YulFunction
impl Clone for YulFunction
Source§fn clone(&self) -> YulFunction
fn clone(&self) -> YulFunction
Returns a duplicate 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 YulFunction
impl Debug for YulFunction
Auto Trait Implementations§
impl Freeze for YulFunction
impl RefUnwindSafe for YulFunction
impl Send for YulFunction
impl Sync for YulFunction
impl Unpin for YulFunction
impl UnsafeUnpin for YulFunction
impl UnwindSafe for YulFunction
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