Struct gluon_base::ast::ValueBinding [−][src]
pub struct ValueBinding<Id> { pub metadata: Metadata, pub name: SpannedPattern<Id>, pub typ: Option<AstType<Id>>, pub resolved_type: ArcType<Id>, pub args: Vec<Argument<SpannedIdent<Id>>>, pub expr: SpannedExpr<Id>, }
Fields
metadata: Metadata
name: SpannedPattern<Id>
typ: Option<AstType<Id>>
resolved_type: ArcType<Id>
args: Vec<Argument<SpannedIdent<Id>>>
expr: SpannedExpr<Id>
Methods
impl<Id> ValueBinding<Id>
[src]
impl<Id> ValueBinding<Id>
Trait Implementations
impl<Id: Clone> Clone for ValueBinding<Id>
[src]
impl<Id: Clone> Clone for ValueBinding<Id>
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<Id: PartialEq> PartialEq for ValueBinding<Id>
[src]
impl<Id: PartialEq> PartialEq for ValueBinding<Id>
fn eq(&self, other: &ValueBinding<Id>) -> bool
[src]
fn eq(&self, other: &ValueBinding<Id>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ValueBinding<Id>) -> bool
[src]
fn ne(&self, other: &ValueBinding<Id>) -> bool
This method tests for !=
.
impl<Id: Debug> Debug for ValueBinding<Id>
[src]
impl<Id: Debug> Debug for ValueBinding<Id>
Auto Trait Implementations
impl<Id> Send for ValueBinding<Id> where
Id: Send + Sync,
impl<Id> Send for ValueBinding<Id> where
Id: Send + Sync,
impl<Id> Sync for ValueBinding<Id> where
Id: Send + Sync,
impl<Id> Sync for ValueBinding<Id> where
Id: Send + Sync,