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

pub struct Ty {
    pub id: NodeId,
    pub node: Ty_,
    pub span: Span,
}

Fields

id
node
span

Trait Implementations

impl ToSource for Ty

fn to_source(&self) -> String

impl ToTokens for Ty

fn to_tokens(&self, cx: &ExtCtxt) -> Vec<TokenTree>

Derived Implementations

impl Debug for Ty

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

impl Hash for Ty

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

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

impl Decodable for Ty

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

impl Encodable for Ty

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

impl Eq for Ty

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Ty

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

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

impl Clone for Ty

fn clone(&self) -> Ty

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