pub enum FunctionBodyDeclaration {
WithoutPort(Box<FunctionBodyDeclarationWithoutPort, Global>),
WithPort(Box<FunctionBodyDeclarationWithPort, Global>),
}
Variants§
WithoutPort(Box<FunctionBodyDeclarationWithoutPort, Global>)
WithPort(Box<FunctionBodyDeclarationWithPort, Global>)
Trait Implementations§
source§impl Clone for FunctionBodyDeclaration
impl Clone for FunctionBodyDeclaration
source§fn clone(&self) -> FunctionBodyDeclaration
fn clone(&self) -> FunctionBodyDeclaration
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 FunctionBodyDeclaration
impl Debug for FunctionBodyDeclaration
source§impl<'a> From<&'a FunctionBodyDeclaration> for RefNode<'a>
impl<'a> From<&'a FunctionBodyDeclaration> for RefNode<'a>
source§fn from(x: &'a FunctionBodyDeclaration) -> RefNode<'a>
fn from(x: &'a FunctionBodyDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a FunctionBodyDeclaration> for RefNodes<'a>
impl<'a> From<&'a FunctionBodyDeclaration> for RefNodes<'a>
source§fn from(x: &'a FunctionBodyDeclaration) -> RefNodes<'a>
fn from(x: &'a FunctionBodyDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<FunctionBodyDeclaration> for AnyNode
impl From<FunctionBodyDeclaration> for AnyNode
source§fn from(x: FunctionBodyDeclaration) -> AnyNode
fn from(x: FunctionBodyDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a FunctionBodyDeclaration
impl<'a> IntoIterator for &'a FunctionBodyDeclaration
source§impl PartialEq<FunctionBodyDeclaration> for FunctionBodyDeclaration
impl PartialEq<FunctionBodyDeclaration> for FunctionBodyDeclaration
source§fn eq(&self, other: &FunctionBodyDeclaration) -> bool
fn eq(&self, other: &FunctionBodyDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.