Struct syn_solidity::Returns
source · pub struct Returns {
pub returns_token: returns,
pub paren_token: Paren,
pub returns: ParameterList,
}
Expand description
The returns
attribute of a function.
Fields§
§returns_token: returns
§paren_token: Paren
§returns: ParameterList
The returns of the function. This cannot be parsed empty.
Implementations§
Trait Implementations§
source§impl PartialEq for Returns
impl PartialEq for Returns
source§impl Spanned for Returns
impl Spanned for Returns
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.impl Eq for Returns
Auto Trait Implementations§
impl RefUnwindSafe for Returns
impl !Send for Returns
impl !Sync for Returns
impl Unpin for Returns
impl UnwindSafe for Returns
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