Struct syn::Constraint [−][src]
pub struct Constraint { pub ident: Ident, pub colon_token: Colon, pub bounds: Punctuated<TypeParamBound, Add>, }
An associated type bound: Iterator<Item: Display>
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Fields
ident: Ident
colon_token: Colon
bounds: Punctuated<TypeParamBound, Add>
Trait Implementations
impl Clone for Constraint
[src]
impl Clone for Constraint
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for Constraint
[src]
impl Hash for Constraint
[src]impl Parse for Constraint
[src]
impl Parse for Constraint
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<Constraint> for Constraint
[src]
impl PartialEq<Constraint> for Constraint
[src]impl ToTokens for Constraint
[src]
impl ToTokens for Constraint
[src]