Struct syntax::ast::ExprUnstable [-] [+] [src]

pub struct Expr {
    pub id: NodeId,
    pub node: Expr_,
    pub span: Span,
}

An expression

Fields

id
node
span

Trait Implementations

impl MaybeFnLike for Expr

fn is_fn_like(&self) -> bool

Derived Implementations

impl Debug for Expr

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for Expr

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for Expr

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Expr, __D>

impl Encodable for Expr

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S>

impl Eq for Expr

impl PartialEq for Expr

fn eq(&self, __arg_0: &Expr) -> bool

fn ne(&self, __arg_0: &Expr) -> bool

impl Clone for Expr

fn clone(&self) -> Expr

fn clone_from(&mut self, source: &Self)