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: Identcolon_token: Colonbounds: 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 Parse for Constraint[src]
impl Parse for Constraint[src]fn parse(input: ParseStream<'_>) -> Result<Self>[src]
impl ToTokens for Constraint[src]
impl ToTokens for Constraint[src]