Struct syn::Expr [−][src]
An expression.
Fields
node: ExprKind
Type of the expression.
attrs: Vec<Attribute>
Attributes tagged on the expression.
Trait Implementations
impl ToTokens for Expr[src]
impl ToTokens for Exprimpl Debug for Expr[src]
impl Debug for Exprfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Expr[src]
impl Clone for Exprfn clone(&self) -> Expr[src]
fn clone(&self) -> ExprReturns 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 Eq for Expr[src]
impl Eq for Exprimpl PartialEq for Expr[src]
impl PartialEq for Exprfn eq(&self, other: &Expr) -> bool[src]
fn eq(&self, other: &Expr) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Expr) -> bool[src]
fn ne(&self, other: &Expr) -> boolThis method tests for !=.
impl Hash for Expr[src]
impl Hash for Exprfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl From<ExprKind> for Expr[src]
impl From<ExprKind> for Expr