Struct syntex_syntax::ast::TypeBinding [] [src]

pub struct TypeBinding {
    pub id: NodeId,
    pub ident: Ident,
    pub ty: P<Ty>,
    pub span: Span,
}

Fields

id
ident
ty
span

Trait Implementations

Derived Implementations

impl Debug for TypeBinding

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

impl Hash for TypeBinding

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

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

impl Decodable for TypeBinding

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

impl Encodable for TypeBinding

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

impl Eq for TypeBinding

impl PartialEq for TypeBinding

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

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

impl Clone for TypeBinding

fn clone(&self) -> TypeBinding

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