Struct rustdoc::clean::TypeBindingUnstable [-] [+] [src]

pub struct TypeBinding {
    pub name: String,
    pub ty: Type,
}

An equality constraint on an associated type, e.g. A=Bar in Foo<A=Bar>

Fields

name
ty

Trait Implementations

impl Display for TypeBinding

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

Derived Implementations

impl Debug for TypeBinding

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

impl Encodable for TypeBinding

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

impl Decodable for TypeBinding

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

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)