Struct gluon_base::ast::ExprField [−][src]
pub struct ExprField<Id, E> { pub metadata: Metadata, pub name: Spanned<Id, BytePos>, pub value: Option<E>, }
Fields
metadata: Metadata
name: Spanned<Id, BytePos>
value: Option<E>
Trait Implementations
impl<Id: Clone, E: Clone> Clone for ExprField<Id, E>
[src]
impl<Id: Clone, E: Clone> Clone for ExprField<Id, E>
fn clone(&self) -> ExprField<Id, E>
[src]
fn clone(&self) -> ExprField<Id, E>
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, E: PartialEq> PartialEq for ExprField<Id, E>
[src]
impl<Id: PartialEq, E: PartialEq> PartialEq for ExprField<Id, E>
fn eq(&self, other: &ExprField<Id, E>) -> bool
[src]
fn eq(&self, other: &ExprField<Id, E>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExprField<Id, E>) -> bool
[src]
fn ne(&self, other: &ExprField<Id, E>) -> bool
This method tests for !=
.
impl<Id: Debug, E: Debug> Debug for ExprField<Id, E>
[src]
impl<Id: Debug, E: Debug> Debug for ExprField<Id, E>