Struct syntex_syntax::ast::Ty [] [src]

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

Fields

id
node
span

Trait Implementations

impl Debug for Ty

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

impl ToTokens for Ty

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

Derived Implementations

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

impl Encodable for Ty

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

impl Eq for Ty

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)