Struct solang_parser::pt::YulFunctionDefinition
source · pub struct YulFunctionDefinition {
pub loc: Loc,
pub id: Identifier,
pub params: Vec<YulTypedIdentifier>,
pub returns: Vec<YulTypedIdentifier>,
pub body: YulBlock,
}
Fields§
§loc: Loc
§id: Identifier
§params: Vec<YulTypedIdentifier>
§returns: Vec<YulTypedIdentifier>
§body: YulBlock
Trait Implementations§
source§impl Clone for YulFunctionDefinition
impl Clone for YulFunctionDefinition
source§fn clone(&self) -> YulFunctionDefinition
fn clone(&self) -> YulFunctionDefinition
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 YulFunctionDefinition
impl Debug for YulFunctionDefinition
source§impl PartialEq<YulFunctionDefinition> for YulFunctionDefinition
impl PartialEq<YulFunctionDefinition> for YulFunctionDefinition
source§fn eq(&self, other: &YulFunctionDefinition) -> bool
fn eq(&self, other: &YulFunctionDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.