Struct yultsur::yul::FunctionDefinition [−][src]
pub struct FunctionDefinition { pub name: Identifier, pub parameters: Vec<Identifier>, pub returns: Vec<Identifier>, pub block: Block, }
Fields
name: Identifier
parameters: Vec<Identifier>
returns: Vec<Identifier>
block: Block
Trait Implementations
impl Hash for FunctionDefinition
[src]
impl Hash for FunctionDefinition
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for FunctionDefinition
[src]
impl Clone for FunctionDefinition
fn clone(&self) -> FunctionDefinition
[src]
fn clone(&self) -> FunctionDefinition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for FunctionDefinition
[src]
impl PartialEq for FunctionDefinition
fn eq(&self, other: &FunctionDefinition) -> bool
[src]
fn eq(&self, other: &FunctionDefinition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FunctionDefinition) -> bool
[src]
fn ne(&self, other: &FunctionDefinition) -> bool
This method tests for !=
.
impl Debug for FunctionDefinition
[src]
impl Debug for FunctionDefinition
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for FunctionDefinition
[src]
impl Display for FunctionDefinition
Auto Trait Implementations
impl Send for FunctionDefinition
impl Send for FunctionDefinition
impl Sync for FunctionDefinition
impl Sync for FunctionDefinition