Struct piske::ast::ast::Parameter
[−]
[src]
pub struct Parameter { pub name: Node<Identifier>, pub ty: Node<Identifier>, }
Function parameter (used in function definitions).
Fields
name: Node<Identifier>
Paramter variable name.
ty: Node<Identifier>
Parameter variable type.
Trait Implementations
impl Debug for Parameter
[src]
impl Clone for Parameter
[src]
fn clone(&self) -> Parameter
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Parameter
[src]
fn eq(&self, __arg_0: &Parameter) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Parameter) -> bool
[src]
This method tests for !=
.
impl Annotated for Parameter
type Annotation = Annotation
The annotation type.