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

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

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, Error>

impl Encodable for Expr

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

impl Eq for Expr

fn assert_receiver_is_total_eq(&self)

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)