Struct syntax::ast::TypedefUnstable [-] [+] [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 Debug for Typedef

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

impl Hash for Typedef

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

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

impl Decodable for Typedef

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

impl Encodable for Typedef

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

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)