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

pub struct Typedef {
    pub id: NodeId,
    pub span: Span,
    pub ident: Ident,
    pub vis: Visibility,
    pub attrs: Vec<Attribute>,
    pub typ: P<Ty>,
}

Fields

id
span
ident
vis
attrs
typ

Trait Implementations

Derived Implementations

impl Show for Typedef

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

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

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

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

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

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

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

impl Eq for Typedef

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Typedef

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

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

impl Clone for Typedef

fn clone(&self) -> Typedef

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