Struct gluon_base::ast::ValueBinding
[−]
[src]
pub struct ValueBinding<Id> { pub comment: Option<String>, pub name: SpannedPattern<Id>, pub typ: ArcType<Id>, pub args: Vec<TypedIdent<Id>>, pub expr: SpannedExpr<Id>, }
Fields
comment: Option<String>
name: SpannedPattern<Id>
typ: ArcType<Id>
args: Vec<TypedIdent<Id>>
expr: SpannedExpr<Id>
Trait Implementations
impl<Id: Clone> Clone for ValueBinding<Id>
[src]
fn clone(&self) -> ValueBinding<Id>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<Id: PartialEq> PartialEq for ValueBinding<Id>
[src]
fn eq(&self, __arg_0: &ValueBinding<Id>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ValueBinding<Id>) -> bool
This method tests for !=
.