pub struct AssocType {
pub ident: Ident,
pub generics: Option<AngleBracketedGenericArguments>,
pub eq_token: Eq,
pub ty: Type,
}Expand description
A binding (equality constraint) on an associated type: the Item = u8
in Iterator<Item = u8>.
Fields§
§ident: Ident§generics: Option<AngleBracketedGenericArguments>§eq_token: Eq§ty: Type