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
sourceimpl Clone for YulFunctionDefinition
impl Clone for YulFunctionDefinition
sourcefn clone(&self) -> YulFunctionDefinition
fn clone(&self) -> YulFunctionDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for YulFunctionDefinition
impl Debug for YulFunctionDefinition
sourceimpl PartialEq<YulFunctionDefinition> for YulFunctionDefinition
impl PartialEq<YulFunctionDefinition> for YulFunctionDefinition
sourcefn eq(&self, other: &YulFunctionDefinition) -> bool
fn eq(&self, other: &YulFunctionDefinition) -> bool
impl Eq for YulFunctionDefinition
impl StructuralEq for YulFunctionDefinition
impl StructuralPartialEq for YulFunctionDefinition
Auto Trait Implementations
impl RefUnwindSafe for YulFunctionDefinition
impl Send for YulFunctionDefinition
impl Sync for YulFunctionDefinition
impl Unpin for YulFunctionDefinition
impl UnwindSafe for YulFunctionDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more