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: Locid: Identifierparams: Vec<YulTypedIdentifier>returns: Vec<YulTypedIdentifier>body: YulBlockTrait 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 more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &YulFunctionDefinition) -> bool
fn ne(&self, other: &YulFunctionDefinition) -> bool
This method tests for !=.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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