Struct valkyrie_ast::FunctionReturnNode
source · pub struct FunctionReturnNode {
pub typing: Option<ExpressionKind>,
pub effect: Vec<ExpressionKind>,
}
Expand description
fun name(): ReturnType / [EffectType]
Fields§
§typing: Option<ExpressionKind>
The return type of this function
effect: Vec<ExpressionKind>
The perform effects of this function
Implementations§
Trait Implementations§
source§impl Clone for FunctionReturnNode
impl Clone for FunctionReturnNode
source§fn clone(&self) -> FunctionReturnNode
fn clone(&self) -> FunctionReturnNode
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 FunctionReturnNode
impl Debug for FunctionReturnNode
source§impl Default for FunctionReturnNode
impl Default for FunctionReturnNode
source§fn default() -> FunctionReturnNode
fn default() -> FunctionReturnNode
Returns the “default value” for a type. Read more
source§impl Hash for FunctionReturnNode
impl Hash for FunctionReturnNode
source§impl PartialEq for FunctionReturnNode
impl PartialEq for FunctionReturnNode
source§fn eq(&self, other: &FunctionReturnNode) -> bool
fn eq(&self, other: &FunctionReturnNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FunctionReturnNode
impl StructuralPartialEq for FunctionReturnNode
Auto Trait Implementations§
impl RefUnwindSafe for FunctionReturnNode
impl Send for FunctionReturnNode
impl Sync for FunctionReturnNode
impl Unpin for FunctionReturnNode
impl UnwindSafe for FunctionReturnNode
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