Struct syn::Constraint
source · pub struct Constraint {
pub ident: Ident,
pub generics: Option<AngleBracketedGenericArguments>,
pub colon_token: Colon,
pub bounds: Punctuated<TypeParamBound, Plus>,
}
Expand description
An associated type bound: Iterator<Item: Display>
.
Fields§
§ident: Ident
§generics: Option<AngleBracketedGenericArguments>
§colon_token: Colon
§bounds: Punctuated<TypeParamBound, Plus>