Struct syntax::ast::TyExperimental [-]  [+] [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 Show for Ty

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

impl<__S: Writer> Hash<__S> for Ty

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Ty

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Ty

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

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)