Struct syn::TypeBinding
[−]
[src]
pub struct TypeBinding {
pub ident: Ident,
pub ty: Ty,
}Bind a type to an associated type: A=Foo.
Fields
ident: Ident
ty: Ty
Trait Implementations
impl ToTokens for TypeBinding[src]
impl Debug for TypeBinding[src]
impl Clone for TypeBinding[src]
fn clone(&self) -> TypeBinding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Eq for TypeBinding[src]
impl PartialEq for TypeBinding[src]
fn eq(&self, __arg_0: &TypeBinding) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TypeBinding) -> bool
This method tests for !=.