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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for TypeBinding[src]
fn clone(&self) -> TypeBinding[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for TypeBinding[src]
impl PartialEq for TypeBinding[src]
fn eq(&self, __arg_0: &TypeBinding) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TypeBinding) -> bool[src]
This method tests for !=.